summaryrefslogtreecommitdiff
path: root/src/unistd/setgid.c
blob: ecef806de4fe97a69e2c180a3ae78a8c2e46ce3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "_syscall.h"

int setgid(gid_t gid)
{
	SYSCALL(setgid, int, -1, gid, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/