[][src]Function avr_libc::strcasestr

pub unsafe extern "C" fn strcasestr(arg1: *const i8, arg2: *const i8) -> *mut i8

\ingroup avr_string \fn char *strcasestr(const char *s1, const char *s2)

The strcasestr() function finds the first occurrence of the substring \p s2 in the string \p s1. This is like strstr(), except that it ignores case of alphabetic symbols in searching for the substring. (Glibc, GNU extension.)

\return The strcasestr() function returns a pointer to the beginning of the substring, or \c NULL if the substring is not found. If \p s2 points to a string of zero length, the function returns \p s1.