summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-01-06 12:48:43 +0000
committeralex <alex@FreeBSD.org>2001-01-06 12:48:43 +0000
commite68548a9cc79e93cd770bd33d505fa2347aa5bf4 (patch)
tree73af2a5edb95b633958cb8fb1fbabdb296317fd6 /lib/libc
parent3ce3460eaced9def4844ba98989b3f5036400da5 (diff)
downloadFreeBSD-src-e68548a9cc79e93cd770bd33d505fa2347aa5bf4.zip
FreeBSD-src-e68548a9cc79e93cd770bd33d505fa2347aa5bf4.tar.gz
gethostbyname2() is able to lookup AF_INET6.
PR: 23823 Noticed by: Andrew Arensburger <arensb@ooblick.com>
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/gethostbyname.310
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3
index 0e2006e..c26e260 100644
--- a/lib/libc/net/gethostbyname.3
+++ b/lib/libc/net/gethostbyname.3
@@ -140,16 +140,6 @@ which is intended to allow lookups in address families other than
.Dv AF_INET ,
for example
.Dv AF_INET6 .
-Currently the
-.Fa af
-argument must be specified as
-.Dv AF_INET
-else the function will return
-.Dv NULL
-after having set
-.Va h_errno
-to
-.Dv NETDB_INTERNAL
.Pp
The
.Fn sethostent
OpenPOWER on IntegriCloud