The libc implementation
Marcel Sondaar
Public Domain
wchar_t * wmemchr(const wchar_t *s,wchar_t c,size_t n)
Finds the first occurance of the character c in s, where n is the maximum amount of bytes to compare
Returns a pointer to the location in the buffer where c is found
Returns NULL if c could not be found