libc\windows\msvc/
mod.rs

1use crate::prelude::*;
2
3pub const L_tmpnam: c_uint = 260;
4pub const TMP_MAX: c_uint = 0x7fff_ffff;
5
6// POSIX Supplement (from errno.h)
7// This particular error code is only currently available in msvc toolchain
8pub const EOTHER: c_int = 131;
9
10extern "C" {
11    #[link_name = "_stricmp"]
12    pub fn stricmp(s1: *const c_char, s2: *const c_char) -> c_int;
13    #[link_name = "_strnicmp"]
14    pub fn strnicmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int;
15    #[link_name = "_memccpy"]
16    pub fn memccpy(dest: *mut c_void, src: *const c_void, c: c_int, count: size_t) -> *mut c_void;
17}