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

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