summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/geteuid.c
blob: a66c159cc3b9cc30f803b905ffe2b8427e8b53c4 (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_geteuid

#include <syscall.h> // for __syscall_0, syscall
#include <unistd.h>  // for geteuid, gid_t

gid_t geteuid(void)
{
	return syscall(geteuid);
}