12add0d91Sopenharmony_cipub const L_tmpnam: ::c_uint = 14;
22add0d91Sopenharmony_cipub const TMP_MAX: ::c_uint = 0x7fff;
32add0d91Sopenharmony_ci
42add0d91Sopenharmony_ci// stdio file descriptor numbers
52add0d91Sopenharmony_cipub const STDIN_FILENO: ::c_int = 0;
62add0d91Sopenharmony_cipub const STDOUT_FILENO: ::c_int = 1;
72add0d91Sopenharmony_cipub const STDERR_FILENO: ::c_int = 2;
82add0d91Sopenharmony_ci
92add0d91Sopenharmony_ciextern "C" {
102add0d91Sopenharmony_ci    pub fn strcasecmp(s1: *const ::c_char, s2: *const ::c_char) -> ::c_int;
112add0d91Sopenharmony_ci    pub fn strncasecmp(s1: *const ::c_char, s2: *const ::c_char, n: ::size_t) -> ::c_int;
122add0d91Sopenharmony_ci
132add0d91Sopenharmony_ci    // NOTE: For MSVC target, `wmemchr` is only a inline function in `<wchar.h>`
142add0d91Sopenharmony_ci    //      header file. We cannot find a way to link to that symbol from Rust.
152add0d91Sopenharmony_ci    pub fn wmemchr(cx: *const ::wchar_t, c: ::wchar_t, n: ::size_t) -> *mut ::wchar_t;
162add0d91Sopenharmony_ci}
172add0d91Sopenharmony_ci
182add0d91Sopenharmony_cicfg_if! {
192add0d91Sopenharmony_ci    if #[cfg(libc_align)] {
202add0d91Sopenharmony_ci        mod align;
212add0d91Sopenharmony_ci        pub use self::align::*;
222add0d91Sopenharmony_ci    }
232add0d91Sopenharmony_ci}
24