diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2013-09-04 09:18:39 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2013-09-04 09:18:39 +0200 |
| commit | 7d0ec5b670e739f8030b04263325e605e5c935b0 (patch) | |
| tree | 7473e9a85a2b5ddc66d7f5f02491829d46da45f2 | |
| parent | 930c9b6d235892b8f198ee1fa941fc99c2249a6f (diff) | |
| download | man-pages-7d0ec5b670e739f8030b04263325e605e5c935b0.tar.gz | |
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>
| -rw-r--r-- | man3/gethostbyname.3 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3 index 23a11bf753..9be2c28fd0 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 |
