minix/lib/libc/posix/_getgroups.c

18 lines
236 B
C
Raw Normal View History

/*
getgroups.c
*/
2005-04-21 16:53:53 +02:00
#include <lib.h>
#define getgroups _getgroups
#include <unistd.h>
PUBLIC int getgroups(int ngroups, gid_t *arr)
2005-04-21 16:53:53 +02:00
{
message m;
m.m1_i1 = ngroups;
m.m1_p1 = arr;
return(_syscall(PM_PROC_NR, GETGROUPS, &m));
2005-04-21 16:53:53 +02:00
}