Gets system identification information.
#include <utsname.h> int uname (struct utsname *name);
The utsname structure is defined in the <utsname.h> header file and contains the following members:
sysname | Name of the operating system implementation |
nodename | Network name of this machine |
release | Release level of the operating system |
version | Version level of the operating system |
machine | Machine hardware platform |
0 | Indicates success. |
-1 | Indicates an error; errno or vaxc$errno is set as appropriate. |