summaryrefslogtreecommitdiff
path: root/src/unistd/setegid.c
blob: 85348842d89ab698fc1f5ceea31c54e5874a204e (plain)
1
2
3
4
5
6
#include <unistd.h>

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