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

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