Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethostid(2) — SunOS 0.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostid(1)

gethostname(2)

GETHOSTID(2)  —  System Interface Manual — System Calls

NAME

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

SYNOPSIS

hostid = gethostid()
int hostid;

sethostid(hostid)
int hostid;

DESCRIPTION

Sethostid 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. 

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

SEE ALSO

hostid(1), gethostname(2)

Sun System Release 0.3  —  12 February 1983

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