summaryrefslogtreecommitdiff
path: root/src/unistd/setregid.c
blob: 665b55569d73247f5283112121fd9ee8db9c1b1c (plain)
1
2
3
4
5
6
7
8
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int setregid(gid_t rgid, gid_t egid)
{
	return __rsyscall(SYS_setregid, rgid, egid, 0, 0, 0, 0);
}