Pike v8.1 release 6

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