strnchr(l)

NAME
strnchr - locate character in string

SYNOPSIS

# include <string.h>
# include <begemot.h>

char * strnchr(const char *s, int c, size_t n);

DESCRIPTION
This function returns a pointer to the first occurence of character c in string s. The search stops after n characters or at the end of the string.

RETURN VALUE
The function returns a pointer to the matching character or NULL if no match is found within the first n characters.

SEE ALSO
strchr(3C)