Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/
H A Dfile.c930 char *posix_mode; in PHP_FUNCTION() local
937 posix_mode = estrndup(mode, mode_len); in PHP_FUNCTION()
940 char *z = memchr(posix_mode, 'b', mode_len); in PHP_FUNCTION()
942 memmove(z, z + 1, mode_len - (z - posix_mode)); in PHP_FUNCTION()
950 (mode_len == 1 && (*posix_mode != 'r' && *posix_mode != 'w')) || in PHP_FUNCTION()
951 (mode_len == 2 && (memcmp(posix_mode, "rb", 2) && memcmp(posix_mode, "wb", 2))) in PHP_FUNCTION()
954 efree(posix_mode); in PHP_FUNCTION()
958 fp = VCWD_POPEN(command, posix_mode); in PHP_FUNCTION()
960 php_error_docref2(NULL, command, posix_mode, E_WARNING, "%s", strerror(errno)); in PHP_FUNCTION()
961 efree(posix_mode); in PHP_FUNCTION()
[all …]

Completed in 13 milliseconds