COHERENT manpages
This page displays the COHERENT manpage for setpgrp() [Make a process a process-group leader].
List of available manpages
Index
setpgrp() -- System Call (libc) Make a process a process-group leader int setpgrp() setpgrp() sets the requesting process's process-group identifier to its own process identifier. This detaches the process from its parent group and makes it the leader of its own processing group. If the process is not already a process-group leader, it is detached from its controlling terminal. setpgrp() returns the new process-group identifier. See Also getpgrp(), libc Notes This function is obsolete, and is being phased out in favor of the function setsid().