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
move msghdr and cmsghdr out of bits/socket.h
[musl.git]
/
src
/
unistd
/
setegid.c
blob
e6da2573c0d4586bc74caeabc4ab5adea4dd09a5
1
#include <unistd.h>
2
#include
"libc.h"
3
#include
"syscall.h"
4
5
int
setegid
(
gid_t egid
)
6
{
7
return
__setxid
(
SYS_setresgid
, -
1
,
egid
, -
1
);
8
}