Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sethostid(2) — SunOS 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostid(1)

GETHOSTID(2)  —  SYSTEM CALLS

NAME

gethostid − get unique identifier of current host

SYNOPSIS

hostid = gethostid()
int hostid;

DESCRIPTION

Gethostid returns the 32-bit identifier for the current host, which should be unique across all hosts.  On the Sun, this number is taken from the CPU board’s ID PROM. 

SEE ALSO

hostid(1)

Sun Release 2.0  —  Last change: 27 February 1985

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