summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/sigreturn.2
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-01-30 22:39:40 +0000
committermpp <mpp@FreeBSD.org>1997-01-30 22:39:40 +0000
commit9a362024366f02badd3b95c43c8568c303bfc811 (patch)
tree838dfc1be267c0543db4ae4565ae622655cd8d11 /lib/libc/sys/sigreturn.2
parent444cbb04eefcb9a4da4e2a366541c4d02d74938d (diff)
downloadFreeBSD-src-9a362024366f02badd3b95c43c8568c303bfc811.zip
FreeBSD-src-9a362024366f02badd3b95c43c8568c303bfc811.tar.gz
Update to reflect current include files.
Diffstat (limited to 'lib/libc/sys/sigreturn.2')
-rw-r--r--lib/libc/sys/sigreturn.230
1 files changed, 22 insertions, 8 deletions
diff --git a/lib/libc/sys/sigreturn.2 b/lib/libc/sys/sigreturn.2
index b116db3..0e848c3 100644
--- a/lib/libc/sys/sigreturn.2
+++ b/lib/libc/sys/sigreturn.2
@@ -40,14 +40,28 @@
.Sh SYNOPSIS
.Fd #include <signal.h>
.Bd -literal
-struct sigcontext {
- int sc_onstack;
- int sc_mask;
- int sc_sp;
- int sc_fp;
- int sc_ap;
- int sc_pc;
- int sc_ps;
+struct sigcontext {
+ int sc_onstack; /* sigstack state to restore */
+ int sc_mask; /* signal mask to restore */
+ int sc_esp; /* machine state */
+ int sc_ebp;
+ int sc_isp;
+ int sc_eip;
+ int sc_efl;
+ int sc_es;
+ int sc_ds;
+ int sc_cs;
+ int sc_ss;
+ int sc_edi;
+ int sc_esi;
+ int sc_ebx;
+ int sc_edx;
+ int sc_ecx;
+ int sc_eax;
+# define sc_sp sc_esp
+# define sc_fp sc_ebp
+# define sc_pc sc_eip
+# define sc_ps sc_efl
};
.Ed
.Ft int
OpenPOWER on IntegriCloud