]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/man/man2/sigaltstack.2
xnu-3789.1.32.tar.gz
[apple/xnu.git] / bsd / man / man2 / sigaltstack.2
index c84d99eafb077200b0b099bdc9bffd2d6e2f969a..de20d8faa9a565b3e107d7de6367698921ff8533 100644 (file)
@@ -47,7 +47,7 @@
 .Fa "stack_t *restrict oss"
 .Fc
 .Sh DESCRIPTION
 .Fa "stack_t *restrict oss"
 .Fc
 .Sh DESCRIPTION
-.Fn Sigaltstack
+.Fn sigaltstack
 allows users to define an alternate stack on which signals
 are to be processed.
 If
 allows users to define an alternate stack on which signals
 are to be processed.
 If
@@ -68,7 +68,7 @@ the system arranges a switch to the signal stack for the
 duration of the signal handler's execution. 
 .Pp
 If
 duration of the signal handler's execution. 
 .Pp
 If
-.Dv SA_DISABLE
+.Dv SS_DISABLE
 is set in
 .Fa ss_flags ,
 .Fa ss_sp
 is set in
 .Fa ss_flags ,
 .Fa ss_sp
@@ -94,7 +94,7 @@ The
 field will contain the value
 .Dv SA_ONSTACK
 if the process is currently on a signal stack and
 field will contain the value
 .Dv SA_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
 if the signal stack is currently disabled.
 .Sh NOTES
 The value
@@ -133,7 +133,7 @@ Otherwise, a value of -1 is returned and
 .Va errno
 is set to indicate the error.
 .Sh ERRORS
 .Va errno
 is set to indicate the error.
 .Sh ERRORS
-.Fn Sigaltstack
+.Fn sigaltstack
 will fail and the signal stack context will remain unchanged
 if one of the following occurs.
 .Bl -tag -width [ENOMEM]
 will fail and the signal stack context will remain unchanged
 if one of the following occurs.
 .Bl -tag -width [ENOMEM]