.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\" SUCH DAMAGE.
.\"
.\" @(#)gethostid.3 8.1 (Berkeley) 6/2/93
-.\" $FreeBSD: src/lib/libc/compat-43/gethostid.3,v 1.12 2004/07/02 23:52:09 ru Exp $
+.\" $FreeBSD: src/lib/libc/compat-43/gethostid.3,v 1.14 2007/01/09 00:27:49 imp Exp $
.\"
.Dd June 2, 1993
.Dt GETHOSTID 3
The
.Fn sethostid
function
-establishes a 32-bit identifier for the
-current processor that is intended to be unique among all
-UNIX systems in existence.
-This is normally a DARPA Internet
-address for the local machine.
+establishes a 32-bit identifier for the current processor.
+The id, intended to be unique among all UNIX systems in existence,
+is normally a DARPA Internet address for the local machine.
This call is allowed only to the
super-user and is normally performed at boot time.
.Pp
.Xr gethostname 3 ,
.Xr sysctl 3 ,
.Xr sysctl 8
-.Sh BUGS
-32 bits for the identifier is too small.
.Sh HISTORY
The
.Fn gethostid
.Bx 4.2
and were dropped in
.Bx 4.4 .
+.Sh BUGS
+32 bits for the identifier is too small.