blob: bc8d5f02a6f00c48e84dffb0fe4f0758fb94a7d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <sys/utsname.h>
#include <errno.h>
#include <Kernel/Syscall.h>
extern "C" {
int uname(struct utsname* buf)
{
int rc = syscall(SC_uname, buf);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
}
|