SETPGRP(2) — Silicon Graphics
NAME
setpgrp − set process group ID
SYNOPSIS
int setpgrp ()
DESCRIPTION
Setpgrp 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
Setpgrp returns the value of the new process group ID.
SEE ALSO
exec(2), fork(2), getpid(2), intro(2), kill(2), signal(2).
ASSEMBLER
moveq#39,D0
movw#1,A0
trap#0
Carry bit set on failure and cleared on success.
Version 2.5r1 — October 29, 1986