diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-08-08 11:05:47 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-08-08 11:05:47 +0000 |
commit | 3bc371d25d4386a85ff3c0f6e38d8fe9dd4e2c89 (patch) | |
tree | 5c9171d5c2d29e9b52cb82545bb806c37739dd14 /lib | |
parent | 31769c61863ebbcddbe62e3fe794c4ead45a3acc (diff) | |
download | src-3bc371d25d4386a85ff3c0f6e38d8fe9dd4e2c89.tar.gz src-3bc371d25d4386a85ff3c0f6e38d8fe9dd4e2c89.zip |
Notes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/gethostbyname.3 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index 7d78f96e9a8a..b845c28183fe 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -67,6 +67,19 @@ .Ft const char * .Fn hstrerror "int err" .Sh DESCRIPTION +.Bf -symbolic +The +.Xr getaddrinfo 3 +and +.Xr getnameinfo 3 +functions are preferred over the +.Fn gethostbyname , +.Fn gethostbyname2 , +and +.Fn gethostbyaddr +functions. +.Ef +.Pp The .Fn gethostbyname , .Fn gethostbyname2 @@ -287,6 +300,7 @@ for example, a mail-forwarder may be registered for this domain. .El .Sh SEE ALSO .Xr getaddrinfo 3 , +.Xr getnameinfo 3 , .Xr inet_aton 3 , .Xr resolver 3 , .Xr hosts 5 , |