Skip to content

Commit fd48bbb

Browse files
committed
Auto merge of #2604 - devnexen:dolarish_update_further, r=Amanieu
solarish couple of strings fn.
2 parents 52382d6 + 2e5cb86 commit fd48bbb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2835,6 +2835,15 @@ extern "C" {
28352835
outdata: *mut u64,
28362836
validity: *mut ::c_uint,
28372837
) -> ::c_int;
2838+
2839+
pub fn strcasecmp_l(s1: *const ::c_char, s2: *const ::c_char, loc: ::locale_t) -> ::c_int;
2840+
pub fn strncasecmp_l(
2841+
s1: *const ::c_char,
2842+
s2: *const ::c_char,
2843+
n: ::size_t,
2844+
loc: ::locale_t,
2845+
) -> ::c_int;
2846+
pub fn strsep(string: *mut *mut ::c_char, delim: *const ::c_char) -> *mut ::c_char;
28382847
}
28392848

28402849
mod compat;

0 commit comments

Comments
 (0)