mirror of https://github.com/mkerrisk/man-pages
pread.2, rename.2, syscall.2, utimensat.2, gethostid.3, rcmd.3, seekdir.3, setnetgrent.3, strerror.3, strsignal.3: ffix: Various tweaks for greater consistency in Feature Test Macros
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0129eef26c
commit
38c1dbe910
|
@ -45,8 +45,7 @@ Feature Test Macro Requirements for glibc (see
|
|||
.BR pwrite ():
|
||||
.RS 4
|
||||
_XOPEN_SOURCE\ >=\ 500
|
||||
.br
|
||||
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
|
||||
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
|
||||
.RE
|
||||
.ad
|
||||
.PD
|
||||
|
|
|
@ -66,6 +66,7 @@ _POSIX_C_SOURCE\ >=\ 200809L
|
|||
Before glibc 2.10:
|
||||
_ATFILE_SOURCE
|
||||
.RE
|
||||
.PD
|
||||
.PP
|
||||
.BR renameat2 ():
|
||||
.RS 4
|
||||
|
@ -73,7 +74,6 @@ _ATFILE_SOURCE
|
|||
_GNU_SOURCE
|
||||
.RE
|
||||
.ad
|
||||
.PD
|
||||
.SH DESCRIPTION
|
||||
.BR rename ()
|
||||
renames a file, moving it between directories if required.
|
||||
|
|
|
@ -54,6 +54,7 @@ syscall \- indirect system call
|
|||
Feature Test Macro Requirements for glibc (see
|
||||
.BR feature_test_macros (7)):
|
||||
.RE
|
||||
.PP
|
||||
.BR syscall ():
|
||||
.PD 0
|
||||
.ad l
|
||||
|
|
|
@ -53,8 +53,10 @@ _POSIX_C_SOURCE\ >=\ 200809L
|
|||
Before glibc 2.10:
|
||||
_ATFILE_SOURCE
|
||||
.RE
|
||||
.PD
|
||||
.PP
|
||||
.BR futimens ():
|
||||
.PD 0
|
||||
.RS 4
|
||||
.TP
|
||||
Since glibc 2.10:
|
||||
|
|
|
@ -47,6 +47,7 @@ Feature Test Macro Requirements for glibc (see
|
|||
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||
.RE
|
||||
.PP
|
||||
.BR sethostid ():
|
||||
.nf
|
||||
Since glibc 2.21:
|
||||
|
|
|
@ -79,6 +79,7 @@ stream to a remote command
|
|||
Feature Test Macro Requirements for glibc (see
|
||||
.BR feature_test_macros (7)):
|
||||
.RE
|
||||
.ad l
|
||||
.PP
|
||||
.BR rcmd (),
|
||||
.BR rcmd_af (),
|
||||
|
@ -92,6 +93,7 @@ Feature Test Macro Requirements for glibc (see
|
|||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR rcmd ()
|
||||
|
|
|
@ -45,9 +45,9 @@ Feature Test Macro Requirements for glibc (see
|
|||
.RE
|
||||
.PP
|
||||
.BR seekdir ():
|
||||
_XOPEN_SOURCE
|
||||
|| /* Glibc since 2.19: */ _DEFAULT_SOURCE
|
||||
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
||||
_XOPEN_SOURCE
|
||||
|| /* Glibc since 2.19: */ _DEFAULT_SOURCE
|
||||
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR seekdir ()
|
||||
|
|
|
@ -34,11 +34,13 @@ Feature Test Macro Requirements for glibc (see
|
|||
.RE
|
||||
.PP
|
||||
.ad l
|
||||
.nh
|
||||
.BR setnetgrent (),
|
||||
.BR endnetgrent (),
|
||||
.BR getnetgrent (),
|
||||
.BR getnetgrent_r (),
|
||||
.BR innetgr ():
|
||||
.hy
|
||||
Since glibc 2.19:
|
||||
_DEFAULT_SOURCE
|
||||
Glibc 2.19 and earlier:
|
||||
|
|
|
@ -62,7 +62,6 @@ Feature Test Macro Requirements for glibc (see
|
|||
.RE
|
||||
.ad l
|
||||
.PP
|
||||
.PD 0
|
||||
.BR strerrorname_np (),
|
||||
.BR strerrordesc_np ():
|
||||
_GNU_SOURCE
|
||||
|
@ -75,7 +74,6 @@ The XSI-compliant version is provided if:
|
|||
.br
|
||||
Otherwise, the GNU-specific version is provided.
|
||||
.RE
|
||||
.PD
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -49,22 +49,18 @@ Feature Test Macro Requirements for glibc (see
|
|||
.PP
|
||||
.BR sigabbrev_np (),
|
||||
.BR sigdescr_np ():
|
||||
.PD 0
|
||||
.ad l
|
||||
.RS 4
|
||||
.TP 4
|
||||
_GNU_SOURCE
|
||||
.RE
|
||||
.PP
|
||||
.BR strsignal ():
|
||||
.ad l
|
||||
.RS 4
|
||||
.TP 4
|
||||
From glibc 2.10 to 2.31:
|
||||
_POSIX_C_SOURCE\ >=\ 200809L
|
||||
.TP
|
||||
Before glibc 2.10:
|
||||
_GNU_SOURCE
|
||||
.RE
|
||||
From glibc 2.10 to 2.31:
|
||||
_POSIX_C_SOURCE\ >=\ 200809L
|
||||
Before glibc 2.10:
|
||||
_GNU_SOURCE
|
||||
.PP
|
||||
.IR sys_siglist :
|
||||
Since glibc 2.19:
|
||||
|
@ -72,7 +68,6 @@ _GNU_SOURCE
|
|||
Glibc 2.19 and earlier:
|
||||
_BSD_SOURCE
|
||||
.ad
|
||||
.PD
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR strsignal ()
|
||||
|
|
Loading…
Reference in New Issue