Go to the first, previous, next, last section, table of contents.


setpgid

Syntax

#include <unistd.h>

int setpgid(pid_t _pid, pid_t _pgid);

Return Value

-1 (EPERM) if _pgid is not your current pid, else zero.

Portability

not ANSI, POSIX


Go to the first, previous, next, last section, table of contents.