summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-09-17 11:58:14 +0000
committerderaadt <deraadt@openbsd.org>1997-09-17 11:58:14 +0000
commit0c0016d876d1d961c1418d353d66fd5809c05d8c (patch)
tree4102746f1978b5ae9fc6cf1f17818e80e06f6ffe /lib/libc
parentpretty (diff)
downloadwireguard-openbsd-0c0016d876d1d961c1418d353d66fd5809c05d8c.tar.xz
wireguard-openbsd-0c0016d876d1d961c1418d353d66fd5809c05d8c.zip
sigcontext is MD
Diffstat (limited to 'lib/libc')
-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