Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethostid(2) — Ultrix-11 3.0

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

long hostid = gethostid()

int sethostid(hostid)
int hostid;

DESCRIPTION

The sethostid system call establishes a unique 32-bit identifier that normally serves as the DARPA Internet address for the current processor, a local UNIX machine. 

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

RESTRICTIONS

The sethostid call is allowed only to the superuser and normally is performed at boot time. 

SEE ALSO

hostid(1), gethostname(2)

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