The Open Group Base Specifications Issue 7, 2018 edition
IEEE Std 1003.1-2017 (Revision of IEEE Std 1003.1-2008)
Copyright © 2001-2018 IEEE and The Open Group
gethostid - get an identifier for the current host
The gethostid() function shall retrieve a 32-bit identifier for the current host.
Upon successful completion, gethostid() shall return an identifier for the current host.
No errors are defined.
The following sections are informative.
This volume of POSIX.1-2017 does not define the domain in which the return value is unique.
First released in Issue 4, Version 2.
Moved from X/OPEN UNIX extension to BASE.
End of informative text.
return to top of page
UNIX ® is a registered Trademark of The Open Group.
POSIX ® is a registered Trademark of The IEEE.
Copyright © 2001-2018 IEEE and The Open Group, All Rights Reserved
[ Main Index | XBD | XSH | XCU | XRAT