int sys_uname(utsname_t *buf)
Returns system information in the structure pointed to by buf.
Definition: utsname.c:52
#define SYS_LEN
Maximum length of the string used by utsname.
Definition: utsname.h:9
struct utsname_t utsname_t
Holds information concerning the machine and the os.
Holds information concerning the machine and the os.
Definition: utsname.h:12
char nodename[SYS_LEN]
The name of the node.
Definition: utsname.h:16
char version[SYS_LEN]
The version of the OS.
Definition: utsname.h:20
char release[SYS_LEN]
Operating system release (e.g., "2.6.28").
Definition: utsname.h:18
char sysname[SYS_LEN]
The name of the system.
Definition: utsname.h:14
char machine[SYS_LEN]
The name of the machine.
Definition: utsname.h:22