Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sethostid(2) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostid(1)

gethostname(2)

GETHOSTID(2)  —  NEWS-OS Programmer’s Manual

NAME

gethostid − get unique identifier of current host

SYNOPSIS

hostid = gethostid()
long hostid;

DESCRIPTION

Gethostid returns the 32-bit identifier for the current processor. 
Unfortunately, NEWS has its encrypted hostid on ROM. Therefore, there is no way to set or change it.

SEE ALSO

hostid(1), gethostname(2)

BUGS

32 bits for the identifier is too small. 

NEWS-OSRelease 4.1C

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