setpgrp(S) 6 January 1993 setpgrp(S) Name setpgrp - set process group ID Syntax cc . . . -lc int setpgrp () Description The setpgrp routine sets the process group ID of the calling process to the process ID of the calling process and returns the new process group ID. Return value The setpgrp system call returns the value of the new process group ID. No errors are defined. See also exec(S), fork(S), getpid(S), kill(S), signal(S) Standards conformance setpgrp conforms with: AT&T SVID Issue 2, but has been withdrawn from XPG3.