summaryrefslogtreecommitdiff
path: root/src/unix/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/mod.rs')
-rw-r--r--src/unix/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index 7f7c19d289..cfbb1e7fa8 100644
--- a/src/unix/mod.rs
+++ b/src/unix/mod.rs
@@ -475,6 +475,9 @@ extern {
pub fn strdup(cs: *const c_char) -> *mut c_char;
pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char;
pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char;
+ 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;
pub fn strlen(cs: *const c_char) -> size_t;
pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t;
#[cfg_attr(