We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 027d483 commit e92ed6dCopy full SHA for e92ed6d
src/windows/mod.rs
@@ -188,6 +188,11 @@ pub const SIGABRT: ::c_int = 22;
188
pub const NSIG: ::c_int = 23;
189
pub const SIG_ERR: ::c_int = -1;
190
191
+// stdio file descriptor numbers
192
+pub const STDIN_FILENO: ::c_int = 0;
193
+pub const STDOUT_FILENO: ::c_int = 1;
194
+pub const STDERR_FILENO: ::c_int = 2;
195
+
196
// inline comment below appeases style checker
197
#[cfg(all(target_env = "msvc", feature = "rustc-dep-of-std"))] // " if "
198
#[link(name = "msvcrt", cfg(not(target_feature = "crt-static")))]
0 commit comments