OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man3 / sigset.3
index bba080c..acf0818 100644 (file)
@@ -1,6 +1,7 @@
 '\" t
 .\" Copyright (c) 2005 by 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
 .\"
-.TH SIGSET 3 2009-03-15 "Linux" "Linux Programmer's Manual"
+.TH SIGSET 3 2010-09-20 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sigset, sighold, sigrelse, sigignore \- System V signal API
 .SH SYNOPSIS
-.B #define _XOPEN_SOURCE 500
-.br
 .B #include <signal.h>
 .sp
 .B typedef void (*sighandler_t)(int);
@@ -38,6 +38,23 @@ sigset, sighold, sigrelse, sigignore \- System V signal API
 .BI "int sigrelse(int " sig );
 .sp
 .BI "int sigignore(int " sig );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR sigset (),
+.BR sighold (),
+.BR sigrelse (),
+.BR sigignore ():
+.br
+.RS 4
+_XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.RE
+.ad
 .SH DESCRIPTION
 These functions are provided in glibc as a compatibility interface
 for programs that make use of the historical System V signal API.
@@ -153,7 +170,7 @@ For
 .BR sigignore (),
 see the errors under
 .BR sigaction (2).
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 SVr4, POSIX.1-2001.
 These functions are obsolete: do not use them in new programs.
 POSIX.1-2008 marks
@@ -175,7 +192,7 @@ These functions appeared in glibc version 2.1.
 
 The
 .I sighandler_t
-type is a GNU extension; it is only used on this page to make the
+type is a GNU extension; it is used on this page only to make the
 .BR sigset ()
 prototype more easily readable.
 
@@ -246,7 +263,7 @@ should be
 Instead, the previous disposition of the signal is returned.
 These problems have been fixed since glibc 2.5.
 .\" See http://sourceware.org/bugzilla/show_bug.cgi?id=1951
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR kill (2),
 .BR pause (2),
 .BR sigaction (2),
@@ -255,5 +272,12 @@ These problems have been fixed since glibc 2.5.
 .BR raise (3),
 .BR sigpause (3),
 .BR sigvec (3),
-.BR feature_test_macros (7),
 .BR signal (7)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.