gethostid.3: Update FTM requirements for gethostid()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-01-04 11:55:58 +01:00
parent 6e5cd0d9c1
commit 49b843f53a
1 changed files with 8 additions and 3 deletions

View File

@ -44,9 +44,14 @@ Feature Test Macro Requirements for glibc (see
.PP
.ad l
.BR gethostid ():
.RS 4
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.nf
Since glibc 2.20:
_DEFAULT_SOURCE || _XOPEN_SOURCE\ >=\ 500
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
Up to and including glibc 2.19:
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.fi
.RE
.PP
.BR sethostid ():