Synopsis

#include <string.h>

void *memchr(const void *str, int c, size_t n);

Description

Searches for the first occurrence of the character c (an unsigned char) in the first n bytes of the string
* pointed to, by the argument str.

Return value

Errors