posix_setpgid
Set process group id for job control
&reftitle.description;
boolposix_setpgid
intpid
intpgid
Let the process pid join the process group
pgid.
&reftitle.parameters;
pid
The process id.
pgid
The process group id.
&reftitle.returnvalues;
&return.success;
&reftitle.seealso;
See POSIX.1 and the setsid(2) manual page on the POSIX system for more
informations on process groups and job control.