'\" t
.\" Copyright (c) 2001, Michael Kerrisk (mtk.manpages@gmail.com)
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" aeb, various minor fixes
.TH SIGALTSTACK 2 2010-09-26 "Linux" "Linux Programmer's Manual"
is used to retrieve information about the currently
established signal stack.
If we are interested in performing just one
-of these tasks then the other argument can be specified as NULL.
+of these tasks, then the other argument can be specified as NULL.
Each of these arguments is a structure of the following type:
.sp
.in +4n
.TP
.B SS_DISABLE
The alternate signal stack is currently disabled.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
.BR sigaltstack ()
returns 0 on success, or \-1 on failure with
\fIerrno\fP set to indicate the error.
.TP
.B ENOMEM
The specified size of the new alternate signal stack
-(\fIss.ss_size\fP) was less than \fBMINSTKSZ\fP.
+.I ss.ss_size
+was less than
+.BR MINSTKSZ .
.TP
.B EPERM
An attempt was made to change the alternate signal stack while
it was active (i.e., the process was already executing
on the current alternate signal stack).
-.SH "CONFORMING TO"
+.SH CONFORMING TO
SUSv2, SVr4, POSIX.1-2001.
.SH NOTES
The most common usage of an alternate signal stack is to handle the
/* Handle error */;
.fi
.in
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR execve (2),
.BR setrlimit (2),
.BR sigaction (2),
.BR siglongjmp (3),
.BR sigsetjmp (3),
.BR signal (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.