summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
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