[][src]Function avr_libc::strrchr

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

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

The strrchr() function returns a pointer to the last occurrence of the character val in the string src.

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

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