Lines Matching refs:posix_getgrgid
2 Test posix_getgrgid() function : error conditions
9 /* Prototype : proto array posix_getgrgid(long gid)
15 echo "*** Testing posix_getgrgid() : error conditions ***\n";
18 echo "\n-- Testing posix_getgrgid() function with Zero arguments --\n";
19 var_dump( posix_getgrgid() );
21 //Test posix_getgrgid with one more than the expected number of arguments
22 echo "\n-- Testing posix_getgrgid() function with more than expected no. of arguments --\n";
26 var_dump( posix_getgrgid($gid, $extra_arg) );
28 echo "\n-- Testing posix_getgrgid() function with a negative group id --\n";
30 var_dump( posix_getgrgid($gid));
35 *** Testing posix_getgrgid() : error conditions ***
37 -- Testing posix_getgrgid() function with Zero arguments --
39 Warning: posix_getgrgid() expects exactly 1 parameter, 0 given in %s on line %d
42 -- Testing posix_getgrgid() function with more than expected no. of arguments --
44 Warning: posix_getgrgid() expects exactly 1 parameter, 2 given in %s on line %d
47 -- Testing posix_getgrgid() function with a negative group id --