setpgid function

int setpgid(
  1. int pid,
  2. int pgid
)

Sets the process group ID of the specified process.

Implementation

int setpgid(int pid, int pgid) => platform.setpgid(pid, pgid);