ustrchr
Finds the first occurrence of a character in a string.
Description
char *ustrchr(const char *s,
int c
);
Finds the first occurrence of the character `c' in the string `s'. Example:
char *p = ustrchr("one,two,three,four", ',');
Returns a pointer to the first occurrence of `c' in `s', or NULL if no
match was found. Note that if `c' is NULL, this will return a pointer to
the end of the string.
Related Projects
The following projects include source code containing this keyword: