PWB1/usr/man/man2/setpgrp.2

.th SETPGRP II 5/31/77
.sh NAME
setpgrp \*- set process group number
.sh SYNOPSIS
.nf
(setpgrp = 39.; not in assembler)
.bd "sys setpgrp"
.s3
.bd setpgrp(\|)
.fi
.sh DESCRIPTION
.it Setpgrp
sets the process group number of the process
to the process ID of the process.
The process ID is guaranteed to be unique among
the current process IDs and process group numbers,
so that the new process group number will be unique.
Process group numbers are used to group processes for
catching signals.
.sh "SEE ALSO"
kill(II), signal(II)