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

  man pages->HP-UX 11i man pages -> gethostid (2)              
Title
Content
Arch
Section
 

Contents


 gethostid(2)                                                   gethostid(2)
                               TO BE OBSOLETED



 NAME    [Toc]    [Back]
      gethostid - get an identifier for the current host

 SYNOPSIS    [Toc]    [Back]
      #include <unistd.h>

      long gethostid(void);

 DESCRIPTION    [Toc]    [Back]
      The gethostid() function retrieves a 32-bit identifier for the current
      host.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, gethostid() returns an identifier for the
      current host.

 ERRORS    [Toc]    [Back]
      No errors are defined.

 APPLICATION USAGE    [Toc]    [Back]
      X/Open does not define the domain in which the return value is unique.

 WARNINGS    [Toc]    [Back]
    Obsolescent Interfaces
      gethostid() is to be obsoleted at a future date.

 SEE ALSO    [Toc]    [Back]
      random(3M), <unistd.h>.

 CHANGE HISTORY    [Toc]    [Back]
      First released in Issue 4, Version 2.


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
gethostid Linux get or set the unique identifier of the current host
gethostid OpenBSD get/set unique identifier of current host
gethostid NetBSD get/set unique identifier of current host
sethostid Tru64 Set the unique identifier of the current host
sethostid OpenBSD get/set unique identifier of current host
sethostid FreeBSD get/set unique identifier of current host
gethostid Tru64 Get the unique identifier of the current host
gethostid FreeBSD 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
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service