From 7d0ec5b670e739f8030b04263325e605e5c935b0 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 4 Sep 2013 09:18:39 +0200 Subject: gethostbyname.3: gai_strerror() is the modern replacement for herror() and hstrerror() Reported-by: Jon Grant Signed-off-by: Michael Kerrisk --- man3/gethostbyname.3 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3 index 23a11bf7..9be2c28f 100644 --- a/man3/gethostbyname.3 +++ b/man3/gethostbyname.3 @@ -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 -- cgit v1.2.3