SETPGRP(S) UNIX System V SETPGRP(S)
Name
setpgrp - set process group ID
Syntax
int setpgrp ()
Description
The setpgrp system call sets the process group ID of the
calling process to the process ID of the calling process and
returns the new process group ID.
See Also
exec(S), fork(S), getpid(S), intro(S), kill(S), signal(S)
Diagnostics
The setpgrp system call returns the value of the new process
group ID.
Standards Conformance
setpgrp is conformant with:
AT&T SVID Issue 2, Select Code 307-127;
and The X/Open Portability Guide II of January 1987.
(printed 6/20/89)