[−][src]Function avr_libc::strncasecmp
pub unsafe extern "C" fn strncasecmp(
arg1: *const i8,
arg2: *const i8,
arg3: size_t
) -> i16
\ingroup avr_string \fn int strncasecmp(const char *s1, const char *s2, size_t len) \brief Compare two strings ignoring case.
The strncasecmp() function is similar to strcasecmp(), except it only compares the first \p len characters of \p s1.
\returns The strncasecmp() function returns an integer less than, equal to, or greater than zero if \p s1 (or the first \p len bytes thereof) is found, respectively, to be less than, to match, or be greater than \p s2. A consequence of the ordering used by strncasecmp() is that if \p s1 is an initial substring of \p s2, then \p s1 is considered to be "less than" \p s2.