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

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

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