mirror of https://github.com/mkerrisk/man-pages
Point out that the functions described on this page
are made obsolete by getadrinfo(3) and getnameinfo(3).
This commit is contained in:
parent
823ecd0cc0
commit
567e8a7f91
|
@ -33,7 +33,7 @@
|
|||
.\" Modified 2002-08-05, Michael Kerrisk
|
||||
.\" Modified 2004-10-31, Andries Brouwer
|
||||
.\"
|
||||
.TH GETHOSTBYNAME 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||
.TH GETHOSTBYNAME 3 2007-10-16 "" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent,
|
||||
herror, hstrerror,
|
||||
|
@ -97,6 +97,13 @@ Feature Test Macro Requirements for glibc (see
|
|||
_BSD_SOURCE || _SVID_SOURCE
|
||||
.ad b
|
||||
.SH DESCRIPTION
|
||||
These functions are obsolete.
|
||||
Applications should use
|
||||
.BR getaddrinfo (3)
|
||||
and
|
||||
.BR getnameinfo (3)
|
||||
instead.
|
||||
|
||||
The
|
||||
.BR gethostbyname ()
|
||||
function returns a structure of type
|
||||
|
|
Loading…
Reference in New Issue