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