'\" 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);
.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.
.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
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.
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),
.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/.