summaryrefslogtreecommitdiff
path: root/lib/libc/utsname/uname.c
blob: e88142abc2252fcd022c3d6b52fedb2d4ea1072d (plain)
1
2
3
4
5
6
7
8
9
10



#include <sys/utsname.h> // for uname
#include <syscall.h>	 // for __syscall_1, syscall

int uname(struct utsname *name)
{
	return syscall(uname, name);
}