The memchr() function scans the first n bytes of the memory area
pointed to by s for the character c. The first byte to match
c (interpreted as an unsigned character) stops the operation.
The memrchr() function is like the memchr() function, except that
it searches backwards from the end of the n bytes pointed to by
s instead of forwards from the front.