17 lines
405 B
Plaintext
17 lines
405 B
Plaintext
setsid
|
|
======
|
|
:title: Shellcode Compiler Runtime
|
|
|
|
---------------------------------------------
|
|
pid_t setsid(void);
|
|
---------------------------------------------
|
|
|
|
Creates a new session for the current process by setting the process group ID to the current process ID. Returns
|
|
the new process group ID.
|
|
|
|
See also
|
|
--------
|
|
link:getpgid.html[getpgid],
|
|
link:getpgrp.html[getpgrp],
|
|
link:setpgid.html[setpgid]
|