summaryrefslogtreecommitdiff
path: root/src/unistd/setgid.c
blob: 87b2717e2ff94818677622526b5921fe942a5156 (plain) (blame)
1
2
3
4
5
6
7
8
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int setgid(gid_t gid)
{
	return __rsyscall(SYS_setgid, gid, 0, 0, 0, 0, 0);
}