summaryrefslogtreecommitdiff
path: root/lib/libc/sys/sigreturn.2
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-17 11:58:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-17 11:58:15 +0000
commit2033c62b8b541dabea5e5709e4228f7e595bf0b2 (patch)
treee88761e348610d6de656f5b00fd880b92c194962 /lib/libc/sys/sigreturn.2
parentb7b1eae0dce05b47c30cbb87db6c356b8e91697a (diff)
sigcontext is MD
Diffstat (limited to 'lib/libc/sys/sigreturn.2')
-rw-r--r--lib/libc/sys/sigreturn.214
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/libc/sys/sigreturn.2 b/lib/libc/sys/sigreturn.2
index 1e7d904f641..a10e59df331 100644
--- a/lib/libc/sys/sigreturn.2
+++ b/lib/libc/sys/sigreturn.2
@@ -41,18 +41,6 @@
.Nd return from signal
.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;
-};
-.Ed
.Ft int
.Fn sigreturn "struct sigcontext *scp"
.Sh DESCRIPTION
@@ -68,6 +56,8 @@ Execution resumes at the specified pc.
This system call is used by the trampoline code and
.Xr longjmp 3
when returning from a signal to the previously executing program.
+.Pp
+Note that sigcontext contains machine dependent information.
.Sh NOTES
This system call is not available in 4.2
.Tn BSD