![]() |
memchr | Function (ROM Call 0x273) |
mem.h, string.h |
void *memchr (const void *str, short c, unsigned long len); |
Searches the first len bytes of array str for character c.
memchr searches the first len bytes of the block pointed to by str for character c. On success, memchr returns a pointer to the first occurrence of c in str. Otherwise, it returns NULL.