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

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