summaryrefslogtreecommitdiff
path: root/src/unistd/setresgid.c
blob: 2b0c96d8708de8142887ac668025d6edc59d4b4e (plain) (blame)
1
2
3
4
5
6
7
8
9
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
{
	return __rsyscall(__NR_setresgid, rgid, egid, sgid, 0, 0, 0);
}