Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

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

SYNTAX

hostid = gethostid()
int hostid;

sethostid(hostid)
int hostid;

DESCRIPTION

The sethostid system call establishes a 32-bit identifier for the current processor which is intended to be unique among all UNIX systems in existence.  This 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.

The gethostid system call returns the 32-bit identifier for the current processor.

SEE ALSO

hostid(1), gethostname(2)

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