struct utsname { char system_name[65]; char node_name[65]; char release[65]; char version[65]; char machine[65]; } __attribute__((packed)); int uname(struct utsname *addr);
This syscall writes system information to the passed structure. The strings on the structure are NUL-terminated.
EFAULT
: The struct pointed to by addr
is not accessible.