Home
last modified time | relevance | path

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

/PHP-8.4/main/streams/
H A Dcast.c155 const char *cur_mode = stream->mode; in php_stream_mode_sanitize_fdopen_fopencookie() local
161 if (cur_mode[0] == 'r' || cur_mode[0] == 'w' || cur_mode[0] == 'a') { in php_stream_mode_sanitize_fdopen_fopencookie()
162 result[res_curs++] = cur_mode[0]; in php_stream_mode_sanitize_fdopen_fopencookie()
173 for (i = 1; i < 4 && cur_mode[i] != '\0'; i++) { in php_stream_mode_sanitize_fdopen_fopencookie()
174 if (cur_mode[i] == 'b') { in php_stream_mode_sanitize_fdopen_fopencookie()
176 } else if (cur_mode[i] == '+') { in php_stream_mode_sanitize_fdopen_fopencookie()

Completed in 5 milliseconds