(PHP 4, PHP 5, PHP 7, PHP 8)
posix_getpgrp — Return the current process group identifier
posix_getpgrp(): int
Return the process group identifier of the current process.
This function has no parameters.
Returns the identifier, as an int.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.posix-getpgrp.php