void *memchr( const void *buf, int c, size_t count );

The function memchr is supposed to return a pointer to c (if it is found).
At least this is what MSFT says. However, notice that the return type is
"void" in the example above. It doesn't seem to return the pointer like
it is suppossed to.

I am trying to find a character in a buffer so that I can copy it out to
a string or character array (in other words... I want to pull sets of data
from a buffer using a delimiter). Memchr should help me do this, but I can't
get it to work.

Any ideas??