pub fn stdout() File
91 92 93 94 95 96 97 98 99 100 101 102
pub fn stdout() File { return switch (native_os) { .windows => .{ .handle = std.os.windows.peb().ProcessParameters.hStdOutput, .flags = .{ .nonblocking = false }, }, else => .{ .handle = std.posix.STDOUT_FILENO, .flags = .{ .nonblocking = false }, }, }; }