SETPGRP(2) SETPGRP(2)
NAME
setpgrp - set process group ID
SYNOPSIS
int setpgrp ()
DESCRIPTION
setpgrp sets the process group ID and the session ID of the
calling process to the process ID of the calling process and
returns the new process group ID.
SEE ALSO
exec(2), fork(2), getpid(2), intro(2), kill(2), signal(2),
setsid(2), setpgid(2).
DIAGNOSTICS
setpgrp returns the value of the new process group ID.
Page 1 May 1989