strnchr(l) BEGEMOT Library strnchr(l)NAMEstrnchr - 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 ALSOstrchr(3C)BEGEMOT 15 Apr 1999 strnchr(l)