summaryrefslogblamecommitdiff
path: root/src/unistd/setgid.c
blob: b54d2b22a0366d88d60af2b89d868bf53e9b2654 (plain) (tree)
1
2
3
4
5
6
7
8





                     
                                                           
 
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

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