mirror of https://github.com/mkerrisk/man-pages
gethostname.2: Update FTM requirements for gethostname()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
f1663f029c
commit
6e5cd0d9c1
|
@ -47,11 +47,10 @@ Feature Test Macro Requirements for glibc (see
|
|||
.PP
|
||||
.ad l
|
||||
.BR gethostname ():
|
||||
.RS 4
|
||||
Since glibc 2.12:
|
||||
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||
.br
|
||||
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200112L
|
||||
_XOPEN_SOURCE\ >=\ 500 || _POSIX_C_SOURCE\ >=\ 200112L ||
|
||||
/* 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
|
||||
.RE
|
||||
.PP
|
||||
.BR sethostname ():
|
||||
|
|
Loading…
Reference in New Issue