Lines Matching full:stderr
50 // Don't change anything if stdout or stderr already point to a
54 // terminal (mintty), stderr and stderr will be pipe handles. In
58 // We don't use GetStdHandle() to check stdout/stderr here because
62 // stdout/stderr on startup (before the handle IDs can be reused).
65 if (_fileno(stdout) >= 0 || _fileno(stderr) >= 0)
97 if (freopen("CONOUT$", "w", stderr)) {
98 setvbuf(stderr, NULL, _IOLBF, kOutputBufferSize);
99 _dup2(_fileno(stderr), 2);
289 // Keep the normal stdin and stderr.