Go forward to memcmp
Go backward to memccpy
Go up to Strings
Go to the top op libc

`memchr'--find character in memory

     #include <string.h>
     void *memchr(const void *SRC, int C, size_t LENGTH);
This function searches memory starting at `*SRC' for the character C.
The search only ends with the first occurrence of C, or after LENGTH
characters; in particular, `NULL' does not terminate the search.
If the character C is found within LENGTH characters of `*SRC', a
pointer to the character is returned. If C is not found, then `NULL' is
`memchr'> is ANSI C.
   `memchr'  requires no supporting OS subroutines.