summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-09-17 11:54:26 +0000
committerderaadt <deraadt@openbsd.org>1997-09-17 11:54:26 +0000
commit90169507f641d461a2a6177fb8de90d2415adb29 (patch)
treeeff1134d5bebcc79fd3fc48efda29dba55611c53 /lib/libc
parentReorganizaed bootblocks. Builds like hp300 now. (diff)
downloadwireguard-openbsd-90169507f641d461a2a6177fb8de90d2415adb29.tar.xz
wireguard-openbsd-90169507f641d461a2a6177fb8de90d2415adb29.zip
use SS_* symbols instead
Diffstat (limited to 'lib/libc')
-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