Lines Matching refs:posix_getpgid
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)
17 echo "*** Testing posix_getpgid() : error conditions ***\n";
19 echo "\n-- Testing posix_getpgid() function no arguments --\n";
20 var_dump( posix_getpgid() );
22 echo "\n-- Testing posix_getpgid() with one extra argument --\n";
25 var_dump( posix_getpgid($pid, $extra_arg) );
27 echo "\n-- Testing posix_getpgid() with negative pid --\n";
29 var_dump( posix_getpgid($pid) );
34 *** Testing posix_getpgid() : error conditions ***
36 -- Testing posix_getpgid() function no arguments --
38 Warning: posix_getpgid() expects exactly 1 parameter, 0 given in %s on line %d
41 -- Testing posix_getpgid() with one extra argument --
43 Warning: posix_getpgid() expects exactly 1 parameter, 2 given in %s on line %d
46 -- Testing posix_getpgid() with negative pid --