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