Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethostid.bsd(2) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostid(1)

gethostname(2)

GETHOSTID(2)

NAME

gethostid, sethostid − get/set unique identifier of current host

USAGE

hostid = gethostid() int hostid;
 
sethostid(hostid) int hostid;

DESCRIPTION

Sethostid establishes a 32-bit identifier for the current processor.  This identifier is intended to be unique among all UNIX systems in existence; it is normally a DARPA Internet address for the local machine.  Use of this call is limited to the super-user, and typically occurs only at boot time. 

Gethostid returns the 32-bit identifier for the current processor. 

RETURN VALUE

Upon successful execution, gethostid returns the 32-bit identifier for the current processor. 

RELATED INFORMATION

hostid(1), gethostname(2)

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