[][src]Function avr_libc::strcasecmp_PF

pub unsafe extern "C" fn strcasecmp_PF(s1: *const i8, s2: uint_farptr_t) -> i16

\ingroup avr_pgmspace \fn int strcasecmp_PF(const char *s1, uint_farptr_t s2) \brief Compare two strings ignoring case

The strcasecmp_PF() function compares the two strings \e s1 and \e s2, ignoring the case of the characters.

\param s1 A pointer to the first string in SRAM \param s2 A far pointer to the second string in Flash

\returns The strcasecmp_PF() function returns an integer less than, equal to, or greater than zero if \e s1 is found, respectively, to be less than, to match, or be greater than \e s2. The contents of RAMPZ SFR are undefined when the function returns.