up | Inhaltsverzeichniss | Kommentar

Manual page for GETHOSTID(2)

gethostid - get unique identifier of current host

SYNOPSIS

hostid = gethostid()
long hostid;

DESCRIPTION

Gethostid returns a CPU identification number which is guaranteed to be unique for each CPU. This allows third-party software vendors to use the hostid for copy protection. The hostid is a four byte number with the first byte being the CPU version (only version 1 exists today) and the last three bytes are the last three bytes in the ethernet address (which are guaranteed to be unique).

SEE ALSO

hostid(1), gethostname(2)


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97