getpgid function

int getpgid(
  1. int pid
)

Returns the process group ID of the specified process.

Implementation

int getpgid(int pid) => platform.getpgid(pid);