Pike v8.0 release 1738

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