☰
Debian Codegraph
@
0.0~git20260129.ec0effd-3
0.0~git20260129.ec0effd-2
/
/
libc-top-half
/
musl
/
src
/
unistd
/
setresgid.c
☽
☼
libc-top-half/musl/src/unistd/setresgid.c
code
plain
raw
MIT
2005-2019 Rich Felker <
[email protected]
>; 2005-2019 Many other contributors
debian/copyright
1
#define _GNU_SOURCE
2
#include <unistd.h>
3
#include "syscall.h"
4
#include "libc.h"
5
6
int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
7
{
8
return __setxid(SYS_setresgid, rgid, egid, sgid);
9
}