Amiga Unix — 68040 · 68060

Manual pages › BSD C library (3B)

gethostid(3B)

get unique identifier of current host

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

gethostid - get unique identifier of current host

SYNOPSIS

cc [ flag... ] file ... -lucb
gethostid()

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.

This routine resides in libucb.

SEE ALSO

hostid(1)
sysinfo(2) in the Programmer's Reference Manual.