diff options
author | peter <peter@FreeBSD.org> | 1997-03-11 11:35:56 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-03-11 11:35:56 +0000 |
commit | 724b89cfd3fcf9531a8abee51d88f8722ab252a9 (patch) | |
tree | 5a81d70e85130a51bbe4d2b35e4077607d6cc83a /lib/libc/sys/sigaltstack.2 | |
parent | e8e23405def4966834a6703435257f5f00ed1ac1 (diff) | |
download | FreeBSD-src-724b89cfd3fcf9531a8abee51d88f8722ab252a9.zip FreeBSD-src-724b89cfd3fcf9531a8abee51d88f8722ab252a9.tar.gz |
Merge from Lite2 onto mainline -
- add undelete() and undelete.2 (requires libc minor bump some time)
- man page updates
Diffstat (limited to 'lib/libc/sys/sigaltstack.2')
-rw-r--r-- | lib/libc/sys/sigaltstack.2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2 index 5e8815d..cecd888 100644 --- a/lib/libc/sys/sigaltstack.2 +++ b/lib/libc/sys/sigaltstack.2 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" @(#)sigaltstack.2 8.1 (Berkeley) 6/4/93 +.\" @(#)sigaltstack.2 8.2 (Berkeley) 5/1/95 .\" -.Dd June 4, 1993 +.Dd May 1, 1995 .Dt SIGALTSTACK 2 .Os BSD 4.2 .Sh NAME @@ -42,7 +42,7 @@ .Fd #include <signal.h> .Bd -literal struct sigaltstack { - caddr_t ss_sp; + caddr_t 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; |