summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setegid.c
blob: 90928c2476b351a53d16b0b5f5a98f1d1a8f3630 (plain)
1
2
3
4
5
6
7
8
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>

int setegid(gid_t gid)
{
	return setregid(-1, gid);
}