Lines Matching refs:posix_strerror
2 Test posix_strerror() function : error conditions
9 /* Prototype : proto string posix_strerror(int errno)
15 echo "*** Testing posix_strerror() : error conditions ***\n";
17 echo "\n-- Testing posix_strerror() function with Zero arguments --\n";
18 var_dump( posix_strerror() );
20 echo "\n-- Testing posix_strerror() function with more than expected no. of arguments --\n";
23 var_dump( posix_strerror($errno, $extra_arg) );
25 echo "\n-- Testing posix_strerror() function with invalid error number --\n";
27 echo gettype( posix_strerror($errno) )."\n";
32 *** Testing posix_strerror() : error conditions ***
34 -- Testing posix_strerror() function with Zero arguments --
36 Warning: posix_strerror() expects exactly 1 parameter, 0 given in %s on line %d
39 -- Testing posix_strerror() function with more than expected no. of arguments --
41 Warning: posix_strerror() expects exactly 1 parameter, 2 given in %s on line %d
44 -- Testing posix_strerror() function with invalid error number --