Finds characters in a buffer. Looks for the first occurrence of c in the first count bytes of buf. It stops when it finds c or when it has checked the first count bytes.
Return value:
If successful, returns a pointer to the first location of c in buf. Otherwise it returns NULL.