[][src]Function avr_libc::strncmp_P

pub unsafe extern "C" fn strncmp_P(
    arg1: *const i8,
    arg2: *const i8,
    arg3: size_t
) -> i16

\ingroup avr_pgmspace \fn int strncmp_P(const char *s1, const char *s2, size_t n)

The strncmp_P() function is similar to strcmp_P() except it only compares the first (at most) n characters of s1 and s2.

\returns The strncmp_P() 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.