Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethostid(3C) — SunOS 5.5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostid(1)

sysinfo(2)

gethostid(3C)

NAME

gethostid − get unique identifier of current host

SYNOPSIS

#include <unistd.h>

long gethostid(void);

DESCRIPTION

gethostid() returns the 32-bit identifier for the current host, which should be unique across all hosts.  This number is usually taken from the CPU board’s ID PROM. 

SEE ALSO

hostid(1), sysinfo(2)

SunOS 5.5.1  —  Last change: 12 Feb 1993

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