diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-10-22 05:00:05 -0500 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-10-29 14:54:13 -0500 |
| commit | e47fa14cd18181a192965d803c6a12c345c8f0be (patch) | |
| tree | 212a5b98a1cd87283b54a0d8ecf85b887de1b14b /man3 | |
| parent | 546f67f3cd106cc5bb389fcf6ca00127edfb8dfd (diff) | |
| download | man-pages-e47fa14cd18181a192965d803c6a12c345c8f0be.tar.gz | |
gethostbyname.3: Rationalize text on POSIX.1-2001 obsolete interfaces
POSIX.1 marks gethostbyname(), gethostbyaddr(), and 'h_errno'
as obsolete. The man page explained this, but with some
duplication. Remove the duplication, and otherwise tidy up
discussion of this point.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/gethostbyname.3 | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3 index 286b279846..6e868d41c6 100644 --- a/man3/gethostbyname.3 +++ b/man3/gethostbyname.3 @@ -33,7 +33,7 @@ .\" Modified 2002-08-05, Michael Kerrisk .\" Modified 2004-10-31, Andries Brouwer .\" -.TH GETHOSTBYNAME 3 2008-08-18 "" "Linux Programmer's Manual" +.TH GETHOSTBYNAME 3 2008-10-21 "" "Linux Programmer's Manual" .SH NAME gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, @@ -291,7 +291,12 @@ POSIX.1-2001 specifies .BR endhostent (), .BR gethostent (), and -.IR h_errno . +.IR h_errno ; +.BR gethostbyname (), +.BR gethostbyaddr (), +and +.IR h_errno +are marked obsolescent in that standard. POSIX.1-2008 removes the specifications of .BR gethostbyname (), .BR gethostbyaddr (), @@ -337,18 +342,6 @@ The BSD prototype for uses .I const char * for the first argument. -.LP -POSIX.1-2001 marks -.BR gethostbyaddr () -and -.BR gethostbyname () -obsolescent. -.\" FIXME . SUSv4 removes the specs for gethostbyname(), -.\" gethostbyaddr(), and h_errno. -See -.BR getaddrinfo (3), -.BR getnameinfo (3), -.BR gai_strerror (3). .SS "System V/POSIX Extension" POSIX requires the .BR gethostent () |
