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