Function qt_core::qstrnicmp_char_longlong_char_longlong
source · pub unsafe fn qstrnicmp_char_longlong_char_longlong(
arg1: *const c_char,
arg2: c_longlong,
arg3: *const c_char,
arg4: c_longlong
) -> c_int
cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Expand description
A safe strnicmp()
function.
Calls C++ function: int qstrnicmp(const char* arg1, long long arg2, const char* arg3, long long arg4 = …)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for int qstrnicmp(const char *str1, const char *str2, uint len)
:
A safe strnicmp()
function.
Compares at most len bytes of str1 and str2 ignoring the case of the characters. The encoding of the strings is assumed to be Latin-1.
Returns a negative value if str1 is less than str2, 0 if str1 is equal to str2 or a positive value if str1 is greater than str2.
Special case 1: Returns 0 if str1 and str2 are both nullptr.
Special case 2: Returns a random non-zero value if str1 is nullptr or str2 is nullptr (but not both).
See also qstrcmp(), qstrncmp(), qstricmp(), 8-bit Character Comparisons, and QByteArray::compare().