[][src]Function avr_libc::memcmp_P

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

\ingroup avr_pgmspace \fn int memcmp_P(const void *s1, const void *s2, size_t len) \brief Compare memory areas

The memcmp_P() function compares the first \p len bytes of the memory areas \p s1 and flash \p s2. The comparision is performed using unsigned char operations.

\returns The memcmp_P() function returns an integer less than, equal to, or greater than zero if the first \p len bytes of \p s1 is found, respectively, to be less than, to match, or be greater than the first \p len bytes of \p s2.