Name

strchr function — Searches a string for a character

Synopsis

const char* strchr(const char* s, int c)
      char* strchr(      char* s, int c)

The strchr function returns a pointer to the first occurrence of c (converted to unsigned char) in the null-terminated string s. If c does not appear in s, a null pointer is returned.