OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man2 / sigaltstack.2
index b06bbc8..b9cd128 100644 (file)
@@ -22,7 +22,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
 .\" aeb, various minor fixes
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
 .\" aeb, various minor fixes
-.TH SIGALTSTACK 2 2008-10-04 "Linux" "Linux Programmer's Manual"
+.TH SIGALTSTACK 2 2010-09-26 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sigaltstack \- set and/or get signal stack context
 .SH SYNOPSIS
 .SH NAME
 sigaltstack \- set and/or get signal stack context
 .SH SYNOPSIS
@@ -36,10 +36,16 @@ Feature Test Macro Requirements for glibc (see
 .in
 .sp
 .BR sigaltstack ():
 .in
 .sp
 .BR sigaltstack ():
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
-.\" .br
-.\" .BR sigstack ():
-.\" _BSD_SOURCE || _XOPEN_SOURCE >= 500
+.ad l
+.RS 4
+.PD 0
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.br
+|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
+.PD
+.RE
+.ad
 .SH DESCRIPTION
 .BR sigaltstack ()
 allows a process to define a new alternate
 .SH DESCRIPTION
 .BR sigaltstack ()
 allows a process to define a new alternate
@@ -167,7 +173,7 @@ In these circumstances the only way to catch this signal is
 on an alternate signal stack.
 .P
 On most hardware architectures supported by Linux, stacks grow
 on an alternate signal stack.
 .P
 On most hardware architectures supported by Linux, stacks grow
-downwards.
+downward.
 .BR sigaltstack ()
 automatically takes account
 of the direction of stack growth.
 .BR sigaltstack ()
 automatically takes account
 of the direction of stack growth.
@@ -193,7 +199,7 @@ inherits a copy of its parent's alternate signal stack settings.
 supersedes the older
 .BR sigstack ()
 call.
 supersedes the older
 .BR sigstack ()
 call.
-For backwards compatibility, glibc also provides
+For backward compatibility, glibc also provides
 .BR sigstack ().
 All new applications should be written using
 .BR sigaltstack ().
 .BR sigstack ().
 All new applications should be written using
 .BR sigaltstack ().