5 /* memchr( const void *, int, size_t )
7 This file is part of the Public Domain C Library (PDCLib).
8 Permission is granted to use, modify, and / or redistribute at will.
13 void * memchr( const void * s, int c, size_t n )
15 const unsigned char * p = (const unsigned char *) s;
18 if ( *p == (unsigned char) c )