[−][src]Function avr_libc::strspn_P
pub unsafe extern "C" fn strspn_P(__s: *const i8, __accept: *const i8) -> size_t
\ingroup avr_pgmspace \fn size_t strspn_P(const char *s, const char *accept)
The strspn_P() function calculates the length of the initial segment of \p s which consists entirely of characters in \p accept. This function is similar to strspn() except that \p accept is a pointer to a string in program space.
\return The strspn_P() function returns the number of characters in the initial segment of \p s which consist only of characters from \p accept. The terminating zero is not considered as a part of string.