mirror of https://github.com/mkerrisk/man-pages
gethostbyname.3: gai_strerror() is the modern replacement for herror() and hstrerror()
Reported-by: Jon Grant <jg@jguk.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
930c9b6d23
commit
7d0ec5b670
|
@ -131,14 +131,17 @@ none
|
|||
.PD
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR gethostbyname* ()
|
||||
.BR gethostbyname* (),
|
||||
.BR gethostbyaddr* (),
|
||||
.BR herror (),
|
||||
and
|
||||
.BR gethostbyaddr* ()
|
||||
.BR hstrerror ()
|
||||
functions are obsolete.
|
||||
Applications should use
|
||||
.BR getaddrinfo (3)
|
||||
.BR getaddrinfo (3),
|
||||
.BR getnameinfo (3),
|
||||
and
|
||||
.BR getnameinfo (3)
|
||||
.BR gai_strerror (3)
|
||||
instead.
|
||||
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue