gethostid.3: Add feature test macro requirements for gethostid()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-09-18 11:08:00 +02:00
parent cde2506fa1
commit 2161c1320b
1 changed files with 7 additions and 0 deletions

View File

@ -42,8 +42,15 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.ad l
.br
.BR gethostid ()
.RS 4
_BSD_SOURCE || _XOPEN_SOURCE >= 500 || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
.RE
.BR sethostid ():
.RS 4
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
.RE
.ad b
.SH DESCRIPTION
.BR gethostid ()