home | help
GETHOSTID(2)		       System Calls Manual		    GETHOSTID(2)

NAME
     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)

4.2 Berkeley Distribution	  June 27, 1989 		    GETHOSTID(2)

home | help