Next: , Previous: POSIX users and groups, Up: POSIX interface


8.5 Host OS and machine identification

— procedure: host-name –> string
— procedure: os-node-name –> string
— procedure: os-release-name –> string
— procedure: os-version-name –> string
— procedure: machine-name –> string

These procedures return strings that are intended to identify various aspects of the current operating system and physical machine. POSIX does not specify the format of the strings. These procedures are provided by both the structure posix-platform-names and the structure posix.