aboutsummaryrefslogtreecommitdiff
path: root/libc/src/windows/gnu.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-14 09:37:41 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-14 09:37:41 -0800
commitd8e4f651a453a37345153a3dfc8593f2419b08af (patch)
tree72e161dd029d23253e64b747707848d3cca58527 /libc/src/windows/gnu.rs
parente7ecdef19097428d81a8de65713cb7f36c780b57 (diff)
downloadnitrocli-d8e4f651a453a37345153a3dfc8593f2419b08af.tar.gz
nitrocli-d8e4f651a453a37345153a3dfc8593f2419b08af.tar.bz2
Update libc crate to 0.2.46
This change updates the libc crate to version 0.2.46. Import subrepo libc/:libc at a9e3cc6c1b529eaffef5b82934d0c47203edebe5
Diffstat (limited to 'libc/src/windows/gnu.rs')
-rw-r--r--libc/src/windows/gnu.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/src/windows/gnu.rs b/libc/src/windows/gnu.rs
index a67af15..45e7dda 100644
--- a/libc/src/windows/gnu.rs
+++ b/libc/src/windows/gnu.rs
@@ -1,8 +1,13 @@
pub const L_tmpnam: ::c_uint = 14;
pub const TMP_MAX: ::c_uint = 0x7fff;
+// stdio file descriptor numbers
+pub const STDIN_FILENO: ::c_int = 0;
+pub const STDOUT_FILENO: ::c_int = 1;
+pub const STDERR_FILENO: ::c_int = 2;
+
extern {
pub fn strcasecmp(s1: *const ::c_char, s2: *const ::c_char) -> ::c_int;
pub fn strncasecmp(s1: *const ::c_char, s2: *const ::c_char,
- n: ::size_t) -> ::c_int;
+ n: ::size_t) -> ::c_int;
}