2.2.5 void * memchr
void * memchr(const void *, int, size_t) __ATTR_PURE__
The memchr() function scans the first len bytes of the memory area pointed to by src for the character val. The first byte to match val (interpreted as an unsigned character) stops the operation.
Remember:
The memchr() function returns a pointer to the matching byte or NULL if the character does not occur in the given memory area.