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
etc/services - sync with NetBSD-8
[minix.git]
/
minix
/
lib
/
libc
/
sys
/
getgid.c
blob
789007e41df08ec8a17f4ea64640848f7356a588
1
#include <sys/cdefs.h>
2
#include
"namespace.h"
3
#include <lib.h>
4
5
#include <string.h>
6
#include <unistd.h>
7
8
gid_t
getgid
(
void
)
9
{
10
message m
;
11
12
memset
(&
m
,
0
,
sizeof
(
m
));
13
return
( (
gid_t
)
_syscall
(
PM_PROC_NR
,
PM_GETGID
, &
m
));
14
}