#include <unistd.h> int setpgid(pid_t _pid, pid_t _pgid);
-1 (EPERM) if _pgid is not your current pid, else zero.
not ANSI, POSIX
Go to the first, previous, next, last section, table of contents.