[−][src]Function qt_core::qstrnicmp_char_longlong_char
pub unsafe fn qstrnicmp_char_longlong_char(
arg1: impl CastInto<Ptr<c_char>>,
arg2: c_longlong,
arg3: impl CastInto<Ptr<c_char>>
) -> c_int
A safe strnicmp()
function.
Calls C++ function: int qstrnicmp(const char* arg1, long long arg2, const char* arg3)
.
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().
This item is available if any(cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.