Searched refs:fileno (Results 1 – 10 of 10) sorted by relevance
/PHP-8.0/win32/ |
H A D | console.c | 22 PHP_WINUTIL_API BOOL php_win32_console_fileno_is_console(zend_long fileno) in php_win32_console_fileno_is_console() argument 25 HANDLE handle = (HANDLE) _get_osfhandle(fileno); in php_win32_console_fileno_is_console() 36 PHP_WINUTIL_API BOOL php_win32_console_fileno_has_vt100(zend_long fileno) in php_win32_console_fileno_has_vt100() argument 39 HANDLE handle = (HANDLE) _get_osfhandle(fileno); in php_win32_console_fileno_has_vt100() 44 if (fileno != 0 && !GetNumberOfConsoleInputEvents(handle, &events)) { in php_win32_console_fileno_has_vt100() 58 PHP_WINUTIL_API BOOL php_win32_console_fileno_set_vt100(zend_long fileno, BOOL enable) in php_win32_console_fileno_set_vt100() argument 61 HANDLE handle = (HANDLE) _get_osfhandle(fileno); in php_win32_console_fileno_set_vt100() 66 if (fileno != 0 && !GetNumberOfConsoleInputEvents(handle, &events)) { in php_win32_console_fileno_set_vt100()
|
H A D | console.h | 41 PHP_WINUTIL_API BOOL php_win32_console_fileno_is_console(zend_long fileno); 47 PHP_WINUTIL_API BOOL php_win32_console_fileno_has_vt100(zend_long fileno); 53 PHP_WINUTIL_API BOOL php_win32_console_fileno_set_vt100(zend_long fileno, BOOL enable);
|
/PHP-8.0/ext/standard/ |
H A D | streamsfuncs.c | 1620 php_socket_t fileno; in PHP_FUNCTION() local 1629 php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT, (void*)&fileno, 0); in PHP_FUNCTION() 1631 php_stream_cast(stream, PHP_STREAM_AS_FD, (void*)&fileno, 0); in PHP_FUNCTION() 1638 RETVAL_BOOL(php_win32_console_fileno_is_console(fileno)); in PHP_FUNCTION() 1641 RETVAL_BOOL(isatty(fileno)); in PHP_FUNCTION() 1659 zend_long fileno; in PHP_FUNCTION() local 1670 php_stream_cast(stream, PHP_STREAM_AS_FD_FOR_SELECT, (void*)&fileno, 0); in PHP_FUNCTION() 1673 php_stream_cast(stream, PHP_STREAM_AS_FD, (void*)&fileno, 0); in PHP_FUNCTION() 1687 if (!php_win32_console_fileno_is_console(fileno)) { in PHP_FUNCTION() 1693 if (php_win32_console_fileno_has_vt100(fileno)) { in PHP_FUNCTION() [all …]
|
H A D | iptc.c | 206 if (zend_fstat(fileno(fp), &sb) != 0) { in PHP_FUNCTION()
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg.c | 913 …if (((fstat(fileno(stderr), &stat[2]) < 0) && (fstat(fileno(stdout), &stat[0]) < 0)) || (fstat(dat… in phpdbg_stdiop_write() 1140 phpdbg_rlog(fileno(stderr), "accepting connections on %s:%u", address, port); in phpdbg_remote_init() 1150 phpdbg_rlog(fileno(stderr), "connection established from %s", buffer); in phpdbg_remote_init() 1154 dup2(*socket, fileno(stdout)); in phpdbg_remote_init() 1155 dup2(*socket, fileno(stdin)); in phpdbg_remote_init() 1632 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main() 1776 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main() 1778 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main() 1792 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main() 1794 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main() [all …]
|
H A D | phpdbg_opcode.c | 165 phpdbg_log_ex(fileno(PHPDBG_G(oplog)), "L%-5u %16p %s %s\n", in phpdbg_print_opline_ex()
|
H A D | phpdbg_utils.c | 345 columns = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_col : 80; in phpdbg_get_terminal_width() 366 lines = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_row : 40; in phpdbg_get_terminal_height()
|
/PHP-8.0/Zend/ |
H A D | zend_stream.c | 43 if (handle && zend_fstat(fileno((FILE*)handle), &buf) == 0) { in zend_stream_stdio_fsizer() 139 file_handle->handle.stream.isatty = isatty(fileno((FILE *)file_handle->handle.stream.handle)); in zend_stream_fixup()
|
/PHP-8.0/main/streams/ |
H A D | plain_wrapper.c | 151 #define PHP_STDIOP_GET_FD(anfd, data) anfd = (data)->file ? fileno((data)->file) : (data)->fd 200 self->fd = fileno(file); in _php_stream_fopen_from_file_int() 326 self->fd = fileno(file); in _php_stream_fopen_from_pipe()
|
/PHP-8.0/ext/opcache/ |
H A D | ZendAccelerator.c | 974 if (zend_fstat(fileno(file_handle->handle.fp), &statbuf) == -1) { in zend_get_file_handle_timestamp()
|
Completed in 53 milliseconds