Home
last modified time | relevance | path

Searched refs:posix_mode (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/standard/
H A Dfile.c796 char *posix_mode; in PHP_FUNCTION() local
803 posix_mode = estrndup(mode, mode_len); in PHP_FUNCTION()
806 char *z = memchr(posix_mode, 'b', mode_len); in PHP_FUNCTION()
808 memmove(z, z + 1, mode_len - (z - posix_mode)); in PHP_FUNCTION()
816 (mode_len == 1 && (*posix_mode != 'r' && *posix_mode != 'w')) || in PHP_FUNCTION()
817 (mode_len == 2 && (memcmp(posix_mode, "rb", 2) && memcmp(posix_mode, "wb", 2))) in PHP_FUNCTION()
820 efree(posix_mode); in PHP_FUNCTION()
824 fp = VCWD_POPEN(command, posix_mode); in PHP_FUNCTION()
826 php_error_docref2(NULL, command, posix_mode, E_WARNING, "%s", strerror(errno)); in PHP_FUNCTION()
827 efree(posix_mode); in PHP_FUNCTION()
[all …]

Completed in 13 milliseconds