diff options
| author | Mike Pritchard <mpp@FreeBSD.org> | 1997-03-12 15:35:52 +0000 |
|---|---|---|
| committer | Mike Pritchard <mpp@FreeBSD.org> | 1997-03-12 15:35:52 +0000 |
| commit | d6582c6735ce308d50f33c5b9a236cb1874ae615 (patch) | |
| tree | a5840666b32b0b3d9d28b79ffe2611fe775c62b7 /lib/libc | |
| parent | 1d104f9fbd14f5b49b90b3246b7fce065a1347b7 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/sigaltstack.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2 index f03317b016ad..09a8e447c1d7 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_sp; + void *ss_base; long ss_size; int ss_flags; }; @@ -74,7 +74,7 @@ If .Dv SS_DISABLE is set in .Fa ss_flags , -.Fa ss_sp +.Fa ss_base 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_sp = malloc(SIGSTKSZ)) == NULL) +if ((sigstk.ss_base = malloc(SIGSTKSZ)) == NULL) /* error return */ sigstk.ss_size = SIGSTKSZ; sigstk.ss_flags = 0; |
