OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / sigaltstack.2
index 235e3ac..49911ec 100644 (file)
@@ -1,6 +1,7 @@
 '\" 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.
@@ -20,6 +21,7 @@
 .\"
 .\" 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"
@@ -81,7 +83,7 @@ alternate signal stack, while the \fIoss\fP argument
 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
@@ -128,7 +130,7 @@ currently executing on it.)
 .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.
@@ -145,13 +147,15 @@ a nonzero value other than
 .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
@@ -227,10 +231,19 @@ if (sigaltstack(&ss, NULL) == \-1)
     /* 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/.