Query: posix_getpgid
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
POSIX_GETPGID(3) 1 POSIX_GETPGID(3) posix_getpgid - Get process group id for job controlSYNOPSISint posix_getpgid (int $pid)DESCRIPTIONReturns the process group identifier of the process $pid or FALSE on failure.PARAMETERSo $pid - The process id.RETURN VALUESReturns the identifier, as an integer.EXAMPLESExample #1 Example use of posix_getpgid(3) <?php $pid = posix_getppid(); echo posix_getpgid($pid); //35 ?>NOTESNote This is a not POSIX function, but is common on BSD and System V systems. If the system does not support this function, then it will not be included at compile time. This may be checked with function_exists(3).SEE ALSOposix_getppid(3), man page SETPGID(2). PHP Documentation Group POSIX_GETPGID(3)
Related Man Pages |
---|
setpgid(2) - hpux |
setpgrp2(2) - hpux |
setpgid(3) - ultrix |
pcntl_waitpid(3) - php |
cli_set_process_title(3) - php |
Similar Topics in the Unix Linux Community |
---|
Forum Video Tutorial: How to Use Code Tags |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
New Code Tags (Syntax Highlighting) |
Please Welcome Ravinder Singh to the Moderation Team |