This commit is contained in:
auronandace
2025-12-16 11:20:37 +00:00
parent 59295af7d8
commit e913e2447b
+5 -1
View File
@@ -1113,7 +1113,11 @@ pub unsafe extern "C" fn wcscasecmp(mut s1: *const wchar_t, mut s2: *const wchar
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/wcsncasecmp.html>.
#[unsafe(no_mangle)]
pub unsafe extern "C" fn wcsncasecmp(mut s1: *const wchar_t, mut s2: *const wchar_t, n: size_t) -> c_int {
pub unsafe extern "C" fn wcsncasecmp(
mut s1: *const wchar_t,
mut s2: *const wchar_t,
n: size_t,
) -> c_int {
if n == 0 {
return 0;
}