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 ():
|
.BR pwrite ():
|
||||||
.RS 4
|
.RS 4
|
||||||
_XOPEN_SOURCE\ >=\ 500
|
_XOPEN_SOURCE\ >=\ 500
|
||||||
.br
|
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
|
||||||
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L
|
|
||||||
.RE
|
.RE
|
||||||
.ad
|
.ad
|
||||||
.PD
|
.PD
|
||||||
|
|
|
@ -66,6 +66,7 @@ _POSIX_C_SOURCE\ >=\ 200809L
|
||||||
Before glibc 2.10:
|
Before glibc 2.10:
|
||||||
_ATFILE_SOURCE
|
_ATFILE_SOURCE
|
||||||
.RE
|
.RE
|
||||||
|
.PD
|
||||||
.PP
|
.PP
|
||||||
.BR renameat2 ():
|
.BR renameat2 ():
|
||||||
.RS 4
|
.RS 4
|
||||||
|
@ -73,7 +74,6 @@ _ATFILE_SOURCE
|
||||||
_GNU_SOURCE
|
_GNU_SOURCE
|
||||||
.RE
|
.RE
|
||||||
.ad
|
.ad
|
||||||
.PD
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR rename ()
|
.BR rename ()
|
||||||
renames a file, moving it between directories if required.
|
renames a file, moving it between directories if required.
|
||||||
|
|
|
@ -54,6 +54,7 @@ syscall \- indirect system call
|
||||||
Feature Test Macro Requirements for glibc (see
|
Feature Test Macro Requirements for glibc (see
|
||||||
.BR feature_test_macros (7)):
|
.BR feature_test_macros (7)):
|
||||||
.RE
|
.RE
|
||||||
|
.PP
|
||||||
.BR syscall ():
|
.BR syscall ():
|
||||||
.PD 0
|
.PD 0
|
||||||
.ad l
|
.ad l
|
||||||
|
|
|
@ -53,8 +53,10 @@ _POSIX_C_SOURCE\ >=\ 200809L
|
||||||
Before glibc 2.10:
|
Before glibc 2.10:
|
||||||
_ATFILE_SOURCE
|
_ATFILE_SOURCE
|
||||||
.RE
|
.RE
|
||||||
|
.PD
|
||||||
.PP
|
.PP
|
||||||
.BR futimens ():
|
.BR futimens ():
|
||||||
|
.PD 0
|
||||||
.RS 4
|
.RS 4
|
||||||
.TP
|
.TP
|
||||||
Since glibc 2.10:
|
Since glibc 2.10:
|
||||||
|
|
|
@ -47,6 +47,7 @@ Feature Test Macro Requirements for glibc (see
|
||||||
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||||
.RE
|
.RE
|
||||||
|
.PP
|
||||||
.BR sethostid ():
|
.BR sethostid ():
|
||||||
.nf
|
.nf
|
||||||
Since glibc 2.21:
|
Since glibc 2.21:
|
||||||
|
|
|
@ -79,6 +79,7 @@ stream to a remote command
|
||||||
Feature Test Macro Requirements for glibc (see
|
Feature Test Macro Requirements for glibc (see
|
||||||
.BR feature_test_macros (7)):
|
.BR feature_test_macros (7)):
|
||||||
.RE
|
.RE
|
||||||
|
.ad l
|
||||||
.PP
|
.PP
|
||||||
.BR rcmd (),
|
.BR rcmd (),
|
||||||
.BR rcmd_af (),
|
.BR rcmd_af (),
|
||||||
|
@ -92,6 +93,7 @@ Feature Test Macro Requirements for glibc (see
|
||||||
_DEFAULT_SOURCE
|
_DEFAULT_SOURCE
|
||||||
Glibc 2.19 and earlier:
|
Glibc 2.19 and earlier:
|
||||||
_BSD_SOURCE
|
_BSD_SOURCE
|
||||||
|
.ad
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR rcmd ()
|
.BR rcmd ()
|
||||||
|
|
|
@ -45,9 +45,9 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
.BR seekdir ():
|
.BR seekdir ():
|
||||||
_XOPEN_SOURCE
|
_XOPEN_SOURCE
|
||||||
|| /* Glibc since 2.19: */ _DEFAULT_SOURCE
|
|| /* Glibc since 2.19: */ _DEFAULT_SOURCE
|
||||||
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR seekdir ()
|
.BR seekdir ()
|
||||||
|
|
|
@ -34,11 +34,13 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
.ad l
|
.ad l
|
||||||
|
.nh
|
||||||
.BR setnetgrent (),
|
.BR setnetgrent (),
|
||||||
.BR endnetgrent (),
|
.BR endnetgrent (),
|
||||||
.BR getnetgrent (),
|
.BR getnetgrent (),
|
||||||
.BR getnetgrent_r (),
|
.BR getnetgrent_r (),
|
||||||
.BR innetgr ():
|
.BR innetgr ():
|
||||||
|
.hy
|
||||||
Since glibc 2.19:
|
Since glibc 2.19:
|
||||||
_DEFAULT_SOURCE
|
_DEFAULT_SOURCE
|
||||||
Glibc 2.19 and earlier:
|
Glibc 2.19 and earlier:
|
||||||
|
|
|
@ -62,7 +62,6 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.RE
|
.RE
|
||||||
.ad l
|
.ad l
|
||||||
.PP
|
.PP
|
||||||
.PD 0
|
|
||||||
.BR strerrorname_np (),
|
.BR strerrorname_np (),
|
||||||
.BR strerrordesc_np ():
|
.BR strerrordesc_np ():
|
||||||
_GNU_SOURCE
|
_GNU_SOURCE
|
||||||
|
@ -75,7 +74,6 @@ The XSI-compliant version is provided if:
|
||||||
.br
|
.br
|
||||||
Otherwise, the GNU-specific version is provided.
|
Otherwise, the GNU-specific version is provided.
|
||||||
.RE
|
.RE
|
||||||
.PD
|
|
||||||
.ad
|
.ad
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
|
|
|
@ -49,22 +49,18 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.PP
|
.PP
|
||||||
.BR sigabbrev_np (),
|
.BR sigabbrev_np (),
|
||||||
.BR sigdescr_np ():
|
.BR sigdescr_np ():
|
||||||
.PD 0
|
|
||||||
.ad l
|
.ad l
|
||||||
.RS 4
|
.RS 4
|
||||||
.TP 4
|
.TP 4
|
||||||
_GNU_SOURCE
|
_GNU_SOURCE
|
||||||
.RE
|
.RE
|
||||||
|
.PP
|
||||||
.BR strsignal ():
|
.BR strsignal ():
|
||||||
.ad l
|
.ad l
|
||||||
.RS 4
|
From glibc 2.10 to 2.31:
|
||||||
.TP 4
|
_POSIX_C_SOURCE\ >=\ 200809L
|
||||||
From glibc 2.10 to 2.31:
|
Before glibc 2.10:
|
||||||
_POSIX_C_SOURCE\ >=\ 200809L
|
_GNU_SOURCE
|
||||||
.TP
|
|
||||||
Before glibc 2.10:
|
|
||||||
_GNU_SOURCE
|
|
||||||
.RE
|
|
||||||
.PP
|
.PP
|
||||||
.IR sys_siglist :
|
.IR sys_siglist :
|
||||||
Since glibc 2.19:
|
Since glibc 2.19:
|
||||||
|
@ -72,7 +68,6 @@ _GNU_SOURCE
|
||||||
Glibc 2.19 and earlier:
|
Glibc 2.19 and earlier:
|
||||||
_BSD_SOURCE
|
_BSD_SOURCE
|
||||||
.ad
|
.ad
|
||||||
.PD
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR strsignal ()
|
.BR strsignal ()
|
||||||
|
|
Loading…
Reference in New Issue