[][src]Function avr_libc::strpbrk

pub unsafe extern "C" fn strpbrk(__s: *const i8, __accept: *const i8) -> *mut i8

\ingroup avr_string \fn char *strpbrk(const char *s, const char *accept)

The strpbrk() function locates the first occurrence in the string \p s of any of the characters in the string \p accept.

\return The strpbrk() function returns a pointer to the character in \p s that matches one of the characters in \p accept, or \c NULL if no such character is found. The terminating zero is not considered as a part of string: if one or both args are empty, the result will be \c NULL.