Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
de400b6609becbc6a5ae87fa8b155f02a860e257
/
.
/
src
/
unistd
/
setegid.c
blob: e6da2573c0d4586bc74caeabc4ab5adea4dd09a5 [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
"libc.h"
#include
"syscall.h"
int
setegid
(
gid_t
egid
)
{
return
__setxid
(
SYS_setresgid
,
-
1
,
egid
,
-
1
);
}