Searched refs:fileno (Results 1 – 12 of 12) sorted by relevance
/PHP-7.0/Zend/ |
H A D | zend_stream.c | 67 if (handle && zend_fstat(fileno((FILE*)handle), &buf) == 0) { in zend_stream_stdio_fsizer() 116 if (file_handle->handle.fp && zend_fstat(fileno(file_handle->handle.fp), &buf) == 0) { in zend_stream_fsize() 201 …file_handle->handle.stream.isatty = isatty(fileno((FILE *)file_handle->handle.stream.handle)) … 237 … *buf = mmap(0, size + ZEND_MMAP_AHEAD, PROT_READ, MAP_PRIVATE, fileno(file_handle->handle.fp), 0);
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg.c | 938 …if (((fstat(fileno(stderr), &stat[2]) < 0) & (fstat(fileno(stdout), &stat[0]) < 0)) | (fstat(data-… in phpdbg_stdiop_write() 1180 phpdbg_rlog(fileno(stderr), "accepting connections on %s:%u", address, port); in phpdbg_remote_init() 1190 phpdbg_rlog(fileno(stderr), "connection established from %s", buffer); in phpdbg_remote_init() 1194 dup2(*socket, fileno(stdout)); in phpdbg_remote_init() 1195 dup2(*socket, fileno(stdin)); in phpdbg_remote_init() 1664 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main() 1818 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main() 1820 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main() 1834 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main() 1836 PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); in main() [all …]
|
H A D | phpdbg_opcode.c | 193 phpdbg_log_ex(fileno(PHPDBG_G(oplog)), "L%-5u %16p %s %s\n", in phpdbg_print_opline_ex()
|
H A D | phpdbg_utils.c | 347 columns = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_col : 80; in phpdbg_get_terminal_width() 365 lines = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_row : 40; in phpdbg_get_terminal_height()
|
/PHP-7.0/TSRM/ |
H A D | tsrm_nw.c | 232 fd = fileno(stream);
|
/PHP-7.0/ext/standard/ |
H A D | iptc.c | 219 zend_fstat(fileno(fp), &sb); in PHP_FUNCTION()
|
/PHP-7.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 198 self->fd = fileno(file); in _php_stream_fopen_from_file_int() 326 self->fd = fileno(file); in _php_stream_fopen_from_pipe()
|
/PHP-7.0/ext/zip/lib/ |
H A D | zip_source_filep.c | 416 err = fstat(fileno(ctx->f), &fst); in read_file()
|
H A D | zipint.h | 96 #define fileno _fileno macro
|
/PHP-7.0/ext/opcache/ |
H A D | ZendAccelerator.c | 826 if (zend_fstat(fileno(file_handle->handle.fp), &statbuf) == -1) { in zend_get_file_handle_timestamp()
|
/PHP-7.0/ext/pcre/pcrelib/ |
H A D | ChangeLog | 2526 27. Wrapped the definitions of fileno and isatty for Windows, which appear in 2709 HAVE_UNISTD_H; (2) #define isatty and fileno as _isatty and _fileno.
|
/PHP-7.0/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 21055 backtrace_symbols_fd(pBt, pHdr->nBacktrace, fileno(out)); in sqlite3MemdebugDump()
|
Completed in 415 milliseconds