Next: , Previous: Networking, Up: POSIX


38.12 System Identification

This section lists the various procedures Guile provides for accessing information about the system it runs on.

— Scheme Procedure: uname
— C Function: scm_uname ()

Return an object with some information about the computer system the program is running on.

The following procedures accept an object as returned by uname and return a selected component.

utsname:sysname
The name of the operating system.
utsname:nodename
The network name of the computer.
utsname:release
The current release level of the operating system implementation.
utsname:version
The current version level within the release of the operating system.
utsname:machine
A description of the hardware.