*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/gethostid (2)              
Title
Content
Arch
Section
 

Contents


gethostid(2)							  gethostid(2)


NAME    [Toc]    [Back]

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

C SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     hostid(1),	gethostname(2)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
gethostid Linux get or set the unique identifier of the current host
sethostid Tru64 Set the unique identifier of the current host
gethostid Tru64 Get the unique identifier of the current host
gethostid HP-UX get an identifier for the current host
hostid Linux print the numeric identifier for the current host
hostid IRIX set or print identifier of current host system
getuid IRIX convert from string to unique identifier
uuid IRIX Universal Unique Identifier functions
pthread_getsequence_np Tru64 Obtains the unique identifier for the specified thread
uuidgen HP-UX Generates a Universal Unique Identifier (UUID)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service