Home
last modified time | relevance | path

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

/php-src/sapi/fpm/fpm/
H A Dfpm_stdio.c54 if (fpm_global_config.daemonize || (!isatty(STDERR_FILENO) && !fpm_globals.force_stderr)) {
82 fd_stderr_original = dup(STDERR_FILENO);
96 if (0 > dup2(fd_stderr_original, STDERR_FILENO)) {
113 if (fpm_globals.error_log_fd > 0 && fpm_globals.error_log_fd != STDERR_FILENO) {
116 if (0 > dup2(fpm_globals.error_log_fd, STDERR_FILENO)) {
132 dup2(STDOUT_FILENO, STDERR_FILENO);
166 return write(STDERR_FILENO, FPM_STDIO_CMD_FLUSH, sizeof(FPM_STDIO_CMD_FLUSH));
195 zlog_stream_init_ex(log_stream, ZLOG_WARNING, STDERR_FILENO);
358 dup2(fd_stderr[1], STDERR_FILENO);
363 dup2(STDOUT_FILENO, STDERR_FILENO);
H A Dzlog.c249 zend_quiet_write(zlog_fd > -1 ? zlog_fd : STDERR_FILENO, buf, len); in vzlog()
254 zend_quiet_write(STDERR_FILENO, buf, len); in vzlog()
330 zend_quiet_write(STDERR_FILENO, buf, len); in zlog_stream_direct_write_ex()
332 zend_quiet_write(STDERR_FILENO, append, append_len); in zlog_stream_direct_write_ex()
528 fd != STDERR_FILENO && fd != STDOUT_FILENO && !launched && in zlog_stream_init_internal()
533 stream->fd = fd > -1 ? fd : STDERR_FILENO; in zlog_stream_init_internal()
/php-src/ext/fileinfo/libmagic/
H A Dcompress.c927 movedesc(v, STDERR_FILENO, fdp[STDERR_FILENO][1]); in handledesc()
928 if (fdp[STDERR_FILENO][0] > 2) in handledesc()
929 closedesc(v, fdp[STDERR_FILENO][0]); in handledesc()
931 file_clear_closexec(STDERR_FILENO); in handledesc()
1103 file_pipe_closexec(fdp[STDERR_FILENO]) == -1) { in uncompressbuf()
1145 dprintf(STDERR_FILENO, "exec `%s' failed, %s", in uncompressbuf()
1186 if ((re = sread(fdp[STDERR_FILENO][0], *newch, bytes_max, 0)) > 0) { in uncompressbuf()
1204 closefd(fdp[STDERR_FILENO], 0); in uncompressbuf()
/php-src/ext/standard/
H A Dphp_fopen_wrapper.c279 fd = STDERR_FILENO; in php_stream_url_wrap_php()
287 fd = dup(STDERR_FILENO); in php_stream_url_wrap_php()
/php-src/win32/build/
H A Dconfig.w32.h.in40 #define STDERR_FILENO 2 macro
/php-src/sapi/cli/
H A Dphp_cli.c220 #ifndef STDERR_FILENO
221 #define STDERR_FILENO 2 macro
1171 php_win32_console_fileno_set_vt100(STDERR_FILENO, TRUE); in WinMain()
/php-src/sapi/litespeed/
H A Dlsapilib.c920 if (write( STDERR_FILENO, achError, n )) {}; in LSAPI_perror_r()
3973 s_stderr_is_pipe = isPipe(STDERR_FILENO); in LSAPI_Init_Env_Parameters()

Completed in 29 milliseconds