aboutsummaryrefslogtreecommitdiff
path: root/src/misc/getresgid.c
blob: 682d78c105cc67250715f78104fdd74d539ba2ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"

int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
{
	return syscall(SYS_getresgid, rgid, egid, sgid);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif