| Main index | Section 3 | 日本語 | Options |
#include <sys/utsname.h>
The utsname structure is defined in the <sys/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. |
| UNAME_s | |
| If the environment variable UNAME_s is set, it will override the sysname member. | |
| UNAME_r | |
| If the environment variable UNAME_r is set, it will override the release member. | |
| UNAME_v | |
| If the environment variable UNAME_v is set, it will override the version member. | |
| UNAME_m | |
| If the environment variable UNAME_m is set, it will override the machine member. | |
| UNAME (3) | December 2, 2005 |
| Main index | Section 3 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | This philosophy, in the hands of amateurs, leads to inexplicably mind-numbing botches like the existence of two programs, “head” and “tail,” which print the first part or the last part of a file, depending. Even though their operations are duals of one another, “head” and “tail” are different programs, written by different authors, and take different options! | ” |
| — The Unix Haters' handbook | ||