summaryrefslogtreecommitdiff
path: root/src/unistd/setregid.c
blob: 49c59858dffda69b10eea6dc9e52b4b32e665857 (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(__NR_setregid, rgid, egid, 0, 0, 0, 0);
}