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

  man pages->Tru64 Unix man pages -> gethostid (2)              
Title
Content
Arch
Section
 

gethostid(2)

Contents


NAME    [Toc]    [Back]

       gethostid - Get the unique identifier of the current host

SYNOPSIS    [Toc]    [Back]

       #include <unistd.h>

       long gethostid(
               void );

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       gethostid(): XNS4.0, XNS5.0

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

DESCRIPTION    [Toc]    [Back]

       The  gethostid() function allows a process to retrieve the
       32-bit identifier for the current host.  The  host  ID  is
       stored in network standard byte order and is set either by
       the hostid(1) command or the sethostid(2) function call.

RETURN VALUES    [Toc]    [Back]

       Upon completion,  the  gethostid()  function  returns  the
       identifier for the current host.

SEE ALSO    [Toc]    [Back]

      
      
       Commands: hostid(1)

       Functions: gethostname(2), sethostname(2)

       Standards: standards(5)



                                                     gethostid(2)
[ Back ]
 Similar pages
Name OS Title
gethostid OpenBSD get/set unique identifier of current host
gethostid NetBSD get/set unique identifier of current host
gethostid IRIX get/set unique identifier of current host
sethostid NetBSD get/set unique identifier of current host
sethostid OpenBSD get/set unique identifier of current host
sethostid FreeBSD get/set unique identifier of current host
gethostid Linux get or set the unique identifier of the current host
sethostid Tru64 Set the unique identifier of the current host
gethostid FreeBSD get/set unique identifier of current host
gethostid HP-UX get an identifier for the current host
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service