Find a pointer to first occurrence of character.
LPVOID memchr( LPCVOID buf, int c, size_t count )
Returns a pointer to first occurrence of character.
EX1
void memchr_ex1() { char * pChar; char str1[] = "Mississippi"; pChar=(char*) memchr(str1, 's', lstrlen(str1)); out_str(pChar); // output "ssissippi" }
origin.h