Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2000 17:54:10 +0100 (CET)
From:      ue@nathan.ruhr.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/17104: gethostbyname(3) contains a reference to libc(3)
Message-ID:  <200003011654.RAA01840@nathan.ruhr.de>

next in thread | raw e-mail | index | archive | help

>Number:         17104
>Category:       docs
>Synopsis:       gethostbyname(3) contains a reference to libc(3)
>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:   Wed Mar  1 10:40:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Udo Erdelhoff
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	4.0-CURRENT as of 27-FEB-2000

>Description:

The manualpage for gethostbyname contains a reference to 'libc(3)'.  We do
not have a seperate manualpage for libc, only intro(3). The reference should
be changed to point to that manualpage. The manualpages for endhostent(3),
gethostbyaddr(3), gethostbyname2(3), gethostent(3), herror(3), hstrerror(3)
and sethostent(3) are hard links to gethostbyname(3) and show the same
problem.

A patch to that effect has been included.

>How-To-Repeat:

	N/A

>Fix:

--- /usr/src/lib/libc/net/gethostbyname.3.orig	Mon Feb 28 20:10:33 2000
+++ /usr/src/lib/libc/net/gethostbyname.3	Mon Feb 28 20:11:45 2000
@@ -249,8 +249,8 @@
 and
 .Fn endhostent
 are redefined,
-when
-.Xr libc 3
+when libc (see
+.Xr intro 3 )
 is built to use only the routines to lookup in
 .Pa /etc/hosts
 and not the name server.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003011654.RAA01840>