Searched refs:STDOUT_FILENO (Results 1 – 10 of 10) sorted by relevance
/php-src/sapi/fpm/fpm/ |
H A D | fpm_stdio.c | 36 if (0 > dup2(fd, STDIN_FILENO) || 0 > dup2(fd, STDOUT_FILENO)) { in fpm_stdio_init_main() 132 dup2(STDOUT_FILENO, STDERR_FILENO); 357 dup2(fd_stdout[1], STDOUT_FILENO); 363 dup2(STDOUT_FILENO, STDERR_FILENO);
|
H A D | fpm_main.c | 235 #ifndef STDOUT_FILENO 236 #define STDOUT_FILENO 1 macro 255 ret = write(STDOUT_FILENO, str, str_length); in sapi_cgibin_single_write()
|
H A D | zlog.c | 524 fd != STDERR_FILENO && fd != STDOUT_FILENO && !launched && in zlog_stream_init_internal()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | compress.c | 921 movedesc(v, STDOUT_FILENO, fdp[STDOUT_FILENO][1]); in handledesc() 922 if (fdp[STDOUT_FILENO][0] > 2) in handledesc() 923 closedesc(v, fdp[STDOUT_FILENO][0]); in handledesc() 925 file_clear_closexec(STDOUT_FILENO); in handledesc() 1102 file_pipe_closexec(fdp[STDOUT_FILENO]) == -1 || in uncompressbuf() 1105 closep(fdp[STDOUT_FILENO]); in uncompressbuf() 1168 r = sread(fdp[STDOUT_FILENO][0], *newch, bytes_max, 0); in uncompressbuf() 1172 DPRINTF("Read stdout failed %d (%s)\n", fdp[STDOUT_FILENO][0], in uncompressbuf() 1183 closefd(fdp[STDOUT_FILENO], 0); in uncompressbuf() 1203 closefd(fdp[STDOUT_FILENO], 0); in uncompressbuf()
|
/php-src/sapi/embed/ |
H A D | php_embed.c | 60 ret = write(STDOUT_FILENO, str, str_length); in php_embed_single_write()
|
/php-src/sapi/cli/ |
H A D | php_cli.c | 217 #ifndef STDOUT_FILENO 218 #define STDOUT_FILENO 1 macro 252 ret = write(STDOUT_FILENO, str, str_length); in sapi_cli_single_write() 253 } while (ret <= 0 && (errno == EINTR || (errno == EAGAIN && sapi_cli_select(STDOUT_FILENO)))); in sapi_cli_single_write() 1167 php_win32_console_fileno_set_vt100(STDOUT_FILENO, TRUE); in WinMain()
|
H A D | php_cli_server.c | 1171 php_cli_output_is_tty = isatty(STDOUT_FILENO); in php_cli_is_output_tty() 1179 …_tty = php_win32_console_fileno_is_console(STDOUT_FILENO) && php_win32_console_fileno_has_vt100(ST… in php_cli_is_output_tty()
|
/php-src/ext/standard/ |
H A D | php_fopen_wrapper.c | 263 fd = STDOUT_FILENO; in php_stream_url_wrap_php() 271 fd = dup(STDOUT_FILENO); in php_stream_url_wrap_php()
|
/php-src/win32/build/ |
H A D | config.w32.h.in | 39 #define STDOUT_FILENO 1 macro
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 290 #ifndef STDOUT_FILENO 291 #define STDOUT_FILENO 1 macro 299 ret = write(STDOUT_FILENO, str, str_length); in sapi_cgi_single_write()
|
Completed in 48 milliseconds