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

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

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