summaryrefslogtreecommitdiff
path: root/src/unistd/getgroups.c
blob: 30ae81b67211350441d48a0d92913cf68b9a2db6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#if 0

#include <sys/types.h>
#include "_syscall.h"
#include "_assert.h"

int getgroups(int gidsetsize, gid_t grouplist[])
{
	if (gidsetsize != 0) {
		ASSERT_NONNULL(grouplist);
	}
	SYSCALL(getgroups, int, -1, gidsetsize, grouplist, 0, 0, 0, 0);
}
/*
POSIX(1)
*/


#endif