fsync.2, gethostname.2, stat.2, getutent.3: Minor consistency clean-ups in FTMs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-01-05 10:07:18 +01:00
parent 9d2adbae20
commit b15b92a585
4 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@ Feature Test Macro Requirements for glibc (see
No feature test macros need be defined
Glibc up to and including 2.15:
_BSD_SOURCE || _XOPEN_SOURCE
|| /* since glibc 2.8: */ _POSIX_C_SOURCE\ >=\ 200112L
|| /* Since glibc 2.8: */ _POSIX_C_SOURCE\ >=\ 200112L
.PP
.BR fdatasync ():
_POSIX_C_SOURCE\ >=\ 199309L || _XOPEN_SOURCE\ >=\ 500

View File

@ -48,7 +48,7 @@ Feature Test Macro Requirements for glibc (see
.BR gethostname ():
.nf
_XOPEN_SOURCE\ >=\ 500 || _POSIX_C_SOURCE\ >=\ 200112L ||
/* glibc 2.19 and earlier */ _BSD_SOURCE
/* Glibc 2.19 and earlier */ _BSD_SOURCE
.\" The above is something of a simplification
.\" also in glibc before 2.3 there was a bit churn
.fi

View File

@ -64,7 +64,7 @@ Feature Test Macro Requirements for glibc (see
.PP
.BR lstat ():
.nf
/* glibc 2.19 and earlier */ _BSD_SOURCE
/* Glibc 2.19 and earlier */ _BSD_SOURCE
|| /* Since glibc 2.20 */ _DEFAULT_SOURCE
|| _XOPEN_SOURCE\ >=\ 500
.\" _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED

View File

@ -288,8 +288,8 @@ Feature Test Macro Requirements for glibc (see
.BR getutline_r ():
.nf
_GNU_SOURCE
|| /* since glibc 2.19: */ _DEFAULT_SOURCE
|| /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
|| /* Since glibc 2.19: */ _DEFAULT_SOURCE
|| /* Glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
.fi
.PP
These functions are GNU extensions, analogs of the functions of the