Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethostid(2) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

hostid(1)

gethostname(2)



gethostid(2)                                                      gethostid(2)



NAME
     gethostid, sethostid - get/set unique identifier of current host

C SYNOPSIS
     #include <unistd.h>
     int gethostid (void);
     int sethostid (int hostid);

DESCRIPTION
     Sethostid establishes a 32-bit identifier for the current host that is
     intended to be unique among all UNIX systems in existence.  This is
     normally a DARPA Internet address for the local machine.  This call is
     allowed only to the superuser and is normally performed at boot time.

     Gethostid returns the 32-bit identifier for the current host.

SEE ALSO
     hostid(1), gethostname(2)





































                                                                        Page 1



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