sigaltstack.2: Specifying 'ss' returns the current settings without changing them

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-05-22 15:38:12 +02:00
parent 5270d24e4f
commit b3e2be839b
1 changed files with 7 additions and 0 deletions

View File

@ -130,6 +130,13 @@ currently executing on it.)
.TP
.B SS_DISABLE
The alternate signal stack is currently disabled.
.PP
By specifying
.I ss
as NULL, and
.I old_ss
as a non-NULL value, one can obtain the current settings for
the alternate signal stack without changing them.
.SH RETURN VALUE
.BR sigaltstack ()
returns 0 on success, or \-1 on failure with