summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/sigaltstack.2
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-03-12 14:49:41 +0000
committermpp <mpp@FreeBSD.org>1997-03-12 14:49:41 +0000
commit2602ef2be25af267312c6ef607cb8d074e74f73c (patch)
tree0c81ad71f09b31436a418fead92ae4d12fc64453 /lib/libc/sys/sigaltstack.2
parent4fdffd9e94210fff52789cbb247299ffe675738f (diff)
downloadFreeBSD-src-2602ef2be25af267312c6ef607cb8d074e74f73c.zip
FreeBSD-src-2602ef2be25af267312c6ef607cb8d074e74f73c.tar.gz
Cleanup some of the Lite2 merge. Most of it is mdoc cleanup,
but in one case the Lite2 changes were flat out wrong and caused the man page to disagree with a header file. There are still some *roff macro calls that were added that I have yet to figure out what to do with in some of the man pages.
Diffstat (limited to 'lib/libc/sys/sigaltstack.2')
-rw-r--r--lib/libc/sys/sigaltstack.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2
index cecd888..f03317b 100644
--- a/lib/libc/sys/sigaltstack.2
+++ b/lib/libc/sys/sigaltstack.2
@@ -42,7 +42,7 @@
.Fd #include <signal.h>
.Bd -literal
struct sigaltstack {
- caddr_t ss_base;
+ caddr_t ss_sp;
long ss_size;
int ss_flags;
};
@@ -74,7 +74,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 +106,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