Paul Eggert <[EMAIL PROTECTED]> writes:

>>   pe> char *memechr(const char *str, const char *endp, char c);

Come to think of it, this kind of signature isn't right for the mem*
family, and I suppose it should be something like this instead:

void *memechr(const void *mem, const void *endp, unsigned char c);

This is because the mem* functions use void * as part of the API (so
that you can pass anything to them), but internally they operate on
arrays as if they were arrays of unsigned char.


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to