| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
System

# Method System.getpgrp()

Method getpgrp

  `int getpgrp(int|void pid)`

Description

  Get the process group id for the process pid . With no argguments or with 'pid' equal to zero, returns the process group ID of this process.

Note

  Not all platforms support getting the process group for other processes.

  Not supported on all platforms.

See also

  getpid , getppid