Searched refs:posix_mode (Results 1 – 1 of 1) sorted by relevance
/PHP-8.0/ext/standard/ |
H A D | file.c | 921 char *posix_mode; in PHP_FUNCTION() local 928 posix_mode = estrndup(mode, mode_len); in PHP_FUNCTION() 931 char *z = memchr(posix_mode, 'b', mode_len); in PHP_FUNCTION() 933 memmove(z, z + 1, mode_len - (z - posix_mode)); in PHP_FUNCTION() 941 (mode_len == 1 && (*posix_mode != 'r' && *posix_mode != 'w')) || in PHP_FUNCTION() 942 (mode_len == 2 && (memcmp(posix_mode, "rb", 2) && memcmp(posix_mode, "wb", 2))) in PHP_FUNCTION() 945 efree(posix_mode); in PHP_FUNCTION() 949 fp = VCWD_POPEN(command, posix_mode); in PHP_FUNCTION() 951 php_error_docref2(NULL, command, posix_mode, E_WARNING, "%s", strerror(errno)); in PHP_FUNCTION() 952 efree(posix_mode); in PHP_FUNCTION() [all …]
|
Completed in 8 milliseconds