2 Test posix_getpgid() function : error conditions
5 if((!extension_loaded("posix")) || (!function_exists("posix_getpgid"))) {
6 print "skip - POSIX extension not loaded or posix_getpgid() does not exist";
11 /* Prototype : proto int posix_getpgid(void)
12 * Description: Get the process group id of the specified process (This is not a POSIX function, but a SVR4ism, so we compile conditionally)
13 * Source code: ext/posix/posix.c
17 echo "*** Testing posix_getpgid() : error conditions ***\n";
19 echo "\n-- Testing posix_getpgid() with negative pid --\n";
21 var_dump( posix_getpgid($pid) );
26 *** Testing posix_getpgid() : error conditions ***
28 -- Testing posix_getpgid() with negative pid --