repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
isblank() implementation.
[minix.git]
/
lib
/
libc
/
posix
/
_getgroups.c
blob
7f8a6c33000e98ec9e6bfd31ba0b05fefebcff3b
1
/*
2
getgroups.c
3
*/
4
5
#include <lib.h>
6
#define getgroups _getgroups
7
#include <unistd.h>
8
9
PUBLIC
int
getgroups
(
int
ngroups
,
gid_t
*
arr
)
10
{
11
message m
;
12
m
.
m1_i1
=
ngroups
;
13
m
.
m1_p1
=
arr
;
14
15
return
(
_syscall
(
MM
,
GETGROUPS
, &
m
));
16
}
17