Content-type: text/html Man page of gethostid

gethostid

Section: System Calls (2)
Index Return to Main Contents
 

NAME

gethostid - Gets the unique identifier of the current host  

SYNOPSIS

#include <unistd.h>

long gethostid ( void );  

DESCRIPTION

The gethostid() function allows a process to retrieve the 32-bit identifier for the current host. In most cases, the host ID is stored in network standard byte order and is a DARPA Internet address for the local machine.  

RETURN VALUES

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

RELATED INFORMATION

Functions: gethostname(2), sethostname(2) delim off


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:17 GMT, October 02, 2010