strchr

Name

strchr -- searches a null-terminated string

Synopsis

void * strchr(const void * str, int8 c);

Description

This function searches the null-terminated string str for the first occurance of (char)c. strchr() considers the terminating null of str as part of the string.

If successful, strchr() returns a pointer to the matching character of str. If not, it returns a null pointer.