about summary refs log tree commit diff
path: root/src/unistd/setresgid.c
blob: 9b9fe50bc02b3a1febe195812c76ea843fa9a82b (plain) (blame)
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 __rsyscall(SYS_setresgid, rgid, egid, sgid, 0, 0, 0);
}