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






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

int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
{
	return __setxid(SYS_setresgid, rgid, egid, sgid);
}