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

int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
{
	return __setxid(SYS_setresgid, rgid, egid, sgid);
}


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