kill.2, sigaction.2, sigpending.2, sigprocmask.2, sigsuspend.2, ctermid.3, ferror.3, fopen.3, getaddrinfo.3, getnameinfo.3, longjmp.3, rand.3, setjmp.3, sigsetops.3, sigwait.3, tzset.3: Simply FTM requirements

_XOPEN_SOURCE implies _POSIX_C_SOURCE >=2, so simplify FTM
requirements in various pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-02-12 22:51:08 +01:00
parent d59161f912
commit cff459dea2
15 changed files with 17 additions and 19 deletions

View File

@ -60,7 +60,7 @@ Feature Test Macro Requirements for glibc (see
.sp
.ad l
.BR kill ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.ad b
.SH DESCRIPTION
The

View File

@ -64,7 +64,7 @@ Feature Test Macro Requirements for glibc (see
.sp
.ad l
.BR sigaction ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.IR siginfo_t :
_POSIX_C_SOURCE >= 199309L

View File

@ -41,7 +41,7 @@ Feature Test Macro Requirements for glibc (see
.sp
.ad l
.BR sigpending ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.ad b
.SH DESCRIPTION
.PP

View File

@ -42,7 +42,7 @@ Feature Test Macro Requirements for glibc (see
.sp
.ad l
.BR sigprocmask ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.ad b
.SH DESCRIPTION
.BR sigprocmask ()

View File

@ -41,7 +41,7 @@ Feature Test Macro Requirements for glibc (see
.sp
.ad l
.BR sigsuspend ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.ad b
.SH DESCRIPTION
.BR sigsuspend ()

View File

@ -41,8 +41,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR ctermid ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
.\" From <unistd.h>: _XOPEN_SOURCE
_POSIX_C_SOURCE
.SH DESCRIPTION
.BR ctermid ()
returns a string which is the pathname for the current

View File

@ -61,7 +61,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR fileno ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.SH DESCRIPTION
The function
.BR clearerr ()

View File

@ -61,7 +61,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR fdopen ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.SH DESCRIPTION
The
.BR fopen ()

View File

@ -70,7 +70,7 @@ Feature Test Macro Requirements for glibc (see
.BR freeaddrinfo (),
.BR gai_strerror ():
.RS 4
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.RE
.ad b
.SH DESCRIPTION

View File

@ -27,7 +27,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR getnameinfo ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.ad b
.SH DESCRIPTION
The

View File

@ -58,7 +58,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR rand_r ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.SH DESCRIPTION
The
.BR rand ()

View File

@ -46,9 +46,8 @@ Feature Test Macro Requirements for glibc (see
.BR setjmp ():
see NOTES.
.br
.BR sigsetjmp (),
.BR siglongjmp ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_C_SOURCE
.BR sigsetjmp ():
_POSIX_C_SOURCE
.SH DESCRIPTION
The functions described on this page are used for performing "nonlocal gotos":
transferring execution from one function to a predetermined location

View File

@ -57,7 +57,7 @@ Feature Test Macro Requirements for glibc (see
.BR sigdelset (),
.BR sigismember ():
.RS 4
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.RE
.ad b
.SH DESCRIPTION

View File

@ -40,7 +40,7 @@ Feature Test Macro Requirements for glibc (see
.sp
.ad l
.BR sigwait ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.ad b
.SH DESCRIPTION
The

View File

@ -50,10 +50,10 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR tzset ():
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.br
.IR tzname :
_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE
_POSIX_C_SOURCE
.br
.IR timezone ,
.IR daylight :