I'm currently reprogramming some C libraries. So my question is: Why does memchr take an const void *s pointer and not simply an character pointer?
I see that you could probably search for other stuff, but the function is literally called memchr so why use a void pointer?
Thanks in advance!