[][src]Function avr_libc::strchrnul_P

pub unsafe extern "C" fn strchrnul_P(arg1: *const i8, __val: i16) -> *const i8

\ingroup avr_pgmspace \fn const char *strchrnul_P(const char *s, int c)

The strchrnul_P() function is like strchr_P() except that if \p c is not found in \p s, then it returns a pointer to the null byte at the end of \p s, rather than \c NULL. (Glibc, GNU extension.)

\return The strchrnul_P() function returns a pointer to the matched character, or a pointer to the null byte at the end of \p s (i.e., \c s+strlen(s)) if the character is not found.