Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sethostname(2) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gethostname(2)

SETHOSTNAME(2)  —  Silicon Graphics

NAME

sethostname − set name of host cpu

SYNOPSIS

sethostname(name, namelen)
char *name;
int namelen;

DESCRIPTION

This call sets the name of the host processor to be name, which has length namelen characters.  This is normally executed when the system is bootstrapped, executed out of the file /etc/rc.  The name set should not be a nickname for the machine, but the full name of the machine, i.e., "IRIS1400". 

SEE ALSO

gethostname(2). 

NOTE

The primitives documented on this manual page are system calls, but unlike most system calls they are not resolved by libc.  To compile and link a program that makes these calls, follow the procedures for section (3B) routines as described in intro(3).

Version 2.5r1  —  October 29, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026