Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <unistd.h> pid_t setpgrp (void); |
Description
If the calling process is not already a session leader, setpgrp()
sets the process group ID
and the session number of the calling process to the process ID of the calling process and The function does not have any effect if the calling process is a session leader. | |
Return val. See also |
|