Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 08:16:45 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.ORG, wollman@khavrinen.lcs.mit.edu
Subject:   Re: bin/12311: Sys::Hostname.pm hangs forever
Message-ID:  <199906212216.IAA24492@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
> >> 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




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