From owner-freebsd-bugs Mon Jun 21 15:16:54 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 3BCB514F39 for ; Mon, 21 Jun 1999 15:16:47 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id IAA24492; Tue, 22 Jun 1999 08:16:45 +1000 Date: Tue, 22 Jun 1999 08:16:45 +1000 From: Bruce Evans Message-Id: <199906212216.IAA24492@godzilla.zeta.org.au> To: freebsd-bugs@FreeBSD.ORG, wollman@khavrinen.lcs.mit.edu Subject: Re: bin/12311: Sys::Hostname.pm hangs forever Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> There is no gethostname syscall. > > > Then I'm seriously confused. I have a gethostname(3) manpage on my > > FreeBSD 4.0-CURRENT system. > > Exactly. If it were a syscall it would be in section 2. Not quite. Syscall #87 is the BSD4.3 compatibility syscall for gethostname(). This should not be used in new code, of course. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message