summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-17 11:54:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-17 11:54:27 +0000
commit17cec010c3ac35c0d63882b2c8b6136f00e8b25c (patch)
treee637ae8a2c091650cc485ae7e32b0582cde21357 /lib/libc/sys
parent6476cf829b28337c9b81bab966bbc4a4abe37982 (diff)
use SS_* symbols instead
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/sigaltstack.27
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2
index dba3f28dba0..5bb09a74178 100644
--- a/lib/libc/sys/sigaltstack.2
+++ b/lib/libc/sys/sigaltstack.2
@@ -43,6 +43,7 @@
.Fd #include <sys/types.h>
.Fd #include <signal.h>
.Bd -literal
+
struct sigaltstack {
char *ss_sp;
int ss_size;
@@ -73,7 +74,7 @@ the system arranges a switch to the signal stack for the
duration of the signal handler's execution.
.Pp
If
-.Dv SA_DISABLE
+.Dv SS_DISABLE
is set in
.Fa ss_flags ,
.Fa ss_sp
@@ -97,9 +98,9 @@ is non-zero, the current signal stack state is returned.
The
.Fa ss_flags
field will contain the value
-.Dv SA_ONSTACK
+.Dv SS_ONSTACK
if the process is currently on a signal stack and
-.Dv SA_DISABLE
+.Dv SS_DISABLE
if the signal stack is currently disabled.
.Sh NOTES
The value