1 2 3 4 5 6 7 8
#include <sys/utsname.h> #include <string.h> #include "syscall.h" int uname(struct utsname *uts) { return syscall(SYS_uname, uts); }