sigset.3: Fixed feature test macro requirements

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-09-18 09:44:42 +02:00
parent c267cf74d8
commit 0afed661c0
1 changed files with 17 additions and 2 deletions

View File

@ -25,8 +25,6 @@
.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 +36,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.