Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Standard C Library Functionsgethostid(3C)


NAME

 gethostid - get an identifier for the current host

SYNOPSIS

 
#include <unistd.h>
long gethostid(void);

DESCRIPTION

 

The gethostid() function returns the 32-bit identifier for the current host. This identifier is taken from the CPU board's ID PROM. It is not guaranteed to be unique.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelMT-Safe

SEE ALSO

 

hostid(1), sysinfo(2), attributes(5)


SunOS 5.9Go To TopLast Changed 27 Jun 2000

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.