repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
in clock_getres, check for null pointer before storing result
[musl.git]
/
src
/
unistd
/
setgid.c
blob
bae4616adb3b9432095aa35f35aeeed36b6e17b3
1
#include <unistd.h>
2
#include
"syscall.h"
3
#include
"libc.h"
4
5
int
setgid
(
gid_t gid
)
6
{
7
return
__setxid
(
SYS_setgid
,
gid
,
0
,
0
);
8
}