summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/setresgid.c
blob: 3f288103efa81571ce2de8b8f5ac03c498ff16ae (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_setresgid

#include <syscall.h> // for __syscall_3, syscall
#include <unistd.h>  // for gid_t, setresgid

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