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
some coverity fixes.
[minix.git]
/
lib
/
libc
/
sys-minix
/
getgid.c
blob
86228e7ba8445a8250fa1fb941c4b5ea34c50454
1
#include <sys/cdefs.h>
2
#include
"namespace.h"
3
#include <lib.h>
4
5
#include <unistd.h>
6
7
#ifdef __weak_alias
8
__weak_alias
(
getgid
,
_getgid
)
9
#endif
10
11
gid_t
getgid
()
12
{
13
message m
;
14
15
return
( (
gid_t
)
_syscall
(
PM_PROC_NR
,
GETGID
, &
m
));
16
}