gethostbyname.3: Add feature test macro requirements for errno

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-09-04 08:57:30 +02:00
parent 85832c0a4d
commit 930c9b6d23
1 changed files with 12 additions and 1 deletions

View File

@ -35,7 +35,7 @@
.\" Modified 2002-08-05, Michael Kerrisk
.\" Modified 2004-10-31, Andries Brouwer
.\"
.TH GETHOSTBYNAME 3 2010-10-04 "" "Linux Programmer's Manual"
.TH GETHOSTBYNAME 3 2013-09-04 "" "Linux Programmer's Manual"
.SH NAME
gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent,
h_errno,
@ -116,6 +116,17 @@ _BSD_SOURCE || _SVID_SOURCE || _GNU_SOURCE
Before glibc 2.8:
none
.RE
.BR h_errno :
.RS 4
.TP 4
Since glibc 2.12:
_BSD_SOURCE || _SVID_SOURCE ||
(_POSIX_C_SOURCE < 200809L && _XOPEN_SOURCE < 700)
.TP
Before glibc 2.12:
none
.RE
.ad b
.PD
.SH DESCRIPTION