pub fn stderr() File
104 105 106 107 108 109 110 111 112 113 114 115
pub fn stderr() File { return switch (native_os) { .windows => .{ .handle = std.os.windows.peb().ProcessParameters.hStdError, .flags = .{ .nonblocking = false }, }, else => .{ .handle = std.posix.STDERR_FILENO, .flags = .{ .nonblocking = false }, }, }; }