##### Synopsis

    #include <string.h>
    char *strchr(const char *s, int c);

##### Description

strchr locates the first occurrence of c (converted to a char) in the string pointed to by s. The terminating null character is considered to be part of the string.

strchr returns a pointer to the located character, or a null pointer if c does not occur in the string.

##### Portability

strchr conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).

##### See also

memchr