[−][src]Function avr_libc::strncmp
pub unsafe extern "C" fn strncmp(
arg1: *const i8,
arg2: *const i8,
arg3: size_t
) -> i16
\ingroup avr_string \fn int strncmp(const char *s1, const char *s2, size_t len) \brief Compare two strings.
The strncmp() function is similar to strcmp(), except it only compares the first (at most) n characters of s1 and s2.
\returns The strncmp() function returns an integer less than, equal to, or greater than zero if s1 (or the first n bytes thereof) is found, respectively, to be less than, to match, or be greater than s2.