[][src]Function avr_libc::strchr

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

\ingroup avr_string \fn char *strchr(const char *src, int val) \brief Locate character in string.

The strchr() function returns a pointer to the first occurrence of the character \p val in the string \p src.

Here "character" means "byte" - these functions do not work with wide or multi-byte characters.

\returns The strchr() function returns a pointer to the matched character or \c NULL if the character is not found.