unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 gethostid(2)							gethostid(2)
			       TO BE OBSOLETED



 NAME
      gethostid - get an identifier for the current host

 SYNOPSIS
      #include <&lt&lt&lt;unistd.h>&gt&gt&gt;

      long gethostid(void);

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

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

 ERRORS
      No errors are defined.

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

 WARNINGS
    Obsolescent Interfaces
      gethostid() is to be obsoleted at a future date.

 SEE ALSO
      random(3M), <unistd.h>.

 CHANGE HISTORY
      First released in Issue 4, Version 2.























 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000