summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-03-12 16:23:36 +0000
committermpp <mpp@FreeBSD.org>1997-03-12 16:23:36 +0000
commit5df20433ff20f50e77c9b06df545203a43f0fe1d (patch)
treed7c57c43c95e55265d003c6669ddb2d3514b9c75 /lib
parentc8be68795946be4a13c1f19bdc2adf4b4defe864 (diff)
downloadFreeBSD-src-5df20433ff20f50e77c9b06df545203a43f0fe1d.zip
FreeBSD-src-5df20433ff20f50e77c9b06df545203a43f0fe1d.tar.gz
Make this man page match the current <sys/signal.h> again :-).
Bruce says that since NetBSD, OpenBSD and Linux currently use ss_sp, we won't be changing it to the lite2 ss_base. The type may change at some later date.
Diffstat (limited to 'lib')
-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 09a8e44..8562a31 100644
--- a/lib/libc/sys/sigaltstack.2
+++ b/lib/libc/sys/sigaltstack.2
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)sigaltstack.2 8.2 (Berkeley) 5/1/95
+.\" $Id$
.\"
.Dd May 1, 1995
.Dt SIGALTSTACK 2
@@ -42,7 +43,7 @@
.Fd #include <signal.h>
.Bd -literal
struct sigaltstack {
- void *ss_base;
+ caddr_t ss_sp;
long ss_size;
int ss_flags;
};
@@ -74,7 +75,7 @@ If
.Dv SS_DISABLE
is set in
.Fa ss_flags ,
-.Fa ss_base
+.Fa ss_sp
and
.Fa ss_size
are ignored and the signal stack will be disabled.
@@ -106,7 +107,7 @@ is defined to be the number of bytes/chars that would be used to cover
the usual case when allocating an alternate stack area.
The following code fragment is typically used to allocate an alternate stack.
.Bd -literal -offset indent
-if ((sigstk.ss_base = malloc(SIGSTKSZ)) == NULL)
+if ((sigstk.ss_sp = malloc(SIGSTKSZ)) == NULL)
/* error return */
sigstk.ss_size = SIGSTKSZ;
sigstk.ss_flags = 0;
OpenPOWER on IntegriCloud