Source Compatibility Guide

gethostid

Returns the 32-bit identifier for the current host. This routine calls the sysinfo(2) system call.