summaryrefslogtreecommitdiff
path: root/src/misc/getresgid.c
blob: d00d9a99d353321ff53c50c94853c1ee66436cd9 (plain) (blame)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"

int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
{
	return syscall(SYS_getresgid, rgid, egid, sgid);
}