Home
last modified time | relevance | path

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

/PHP-8.3/ext/standard/
H A Dfile.c800 char *posix_mode; in PHP_FUNCTION() local
807 posix_mode = estrndup(mode, mode_len); in PHP_FUNCTION()
810 char *z = memchr(posix_mode, 'b', mode_len); in PHP_FUNCTION()
812 memmove(z, z + 1, mode_len - (z - posix_mode)); in PHP_FUNCTION()
820 (mode_len == 1 && (*posix_mode != 'r' && *posix_mode != 'w')) || in PHP_FUNCTION()
821 (mode_len == 2 && (memcmp(posix_mode, "rb", 2) && memcmp(posix_mode, "wb", 2))) in PHP_FUNCTION()
824 efree(posix_mode); in PHP_FUNCTION()
828 fp = VCWD_POPEN(command, posix_mode); in PHP_FUNCTION()
830 php_error_docref2(NULL, command, posix_mode, E_WARNING, "%s", strerror(errno)); in PHP_FUNCTION()
831 efree(posix_mode); in PHP_FUNCTION()
[all …]

Completed in 23 milliseconds