GETHOSTNAME(2) — Silicon Graphics
NAME
gethostname − get name of current host
SYNOPSIS
char hostname[32]; gethostname(hostname, sizeof (hostname));
DESCRIPTION
Gethostname returns the standard host name for the current processor, as set by sethostname(2) and defined in rhost(3). The name is null-terminated.
SEE ALSO
Version 2.1 — January 02, 1985