Date: Tue, 25 Nov 2003 09:18:42 +0100 (CET) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/59669: gethostbyname2() man-page states that only AF_INET is supported (-STABLE) Message-ID: <200311250818.hAP8IgN0064652@menelaos.informatik.rwth-aachen.de> Resent-Message-ID: <200311250820.hAP8KDqt063982@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 59669
>Category: docs
>Synopsis: gethostbyname2() man-page states that only AF_INET is supported (-STABLE)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 25 00:20:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Volker Stolz
>Release: FreeBSD 4.9-RC i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-RC FreeBSD 4.9-RC #10: Tue Oct 7 12:32:25 CEST 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386
>Description:
The man page states that:
" The gethostbyname2() function is an evolution of gethostbyname() which is
intended to allow lookups in address families other than AF_INET, for
example AF_INET6. Currently the af argument must be specified as AF_INET
else the function will return NULL after having set h_errno to
NETDB_INTERNAL.
"
However, passing AF_INET6 works fine these days.
>How-To-Repeat:
>Fix:
Drop the "Currently..." part.
>Release-Note:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311250818.hAP8IgN0064652>
