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