2.9BSD/usr/net/man/man2/sethostname.2X
.TH SETHOSTNAME 2X 3/17/82
.UC 4.1a Provisional
.SH NAME
sethostname \- set name of host cpu
.SH SYNOPSIS
.B
sethostname(name, namelen)
.br
char *name;
.br
int namelen;
.R
.SH DESCRIPTION
This call sets the name of the host processor to be
.I name,
which has length
.I namelen
characters.
This is normally executed when the system is bootstrapped, executed
out of the file
.B /etc/rc.local.
The name set should not be a nickname for the machine, but the full
name of the machine, i.e. ``ucbmatisse''.
.SH SEE ALSO
gethostname(2x)
.SH BUGS