posix_getpgid

posix_getpgid

(PHP 4, PHP 5, PHP 7)

posix_getpgidGet process group id for job control

Description

int posix_getpgid ( int $pid )

Returns the process group identifier of the process pid or FALSE on failure.

Parameters

pid

The process id.

Return Values