17 lines
419 B
Plaintext
17 lines
419 B
Plaintext
|
setgid
|
||
|
======
|
||
|
:title: Shellcode Compiler Runtime
|
||
|
|
||
|
---------------------------------------------
|
||
|
int setgid(gid_t id);
|
||
|
--------------------------------------------
|
||
|
|
||
|
Sets the real group ID of the current process to `id`. Returns zero on success, or the negation of the error code on error.
|
||
|
|
||
|
See also
|
||
|
--------
|
||
|
link:getegid.html[getegid],
|
||
|
link:getgid.html[getgid],
|
||
|
link:setegid.html[setegid],
|
||
|
link:setregid.html[setregid]
|