[PATCH] Add rawmemchr

Corinna Vinschen vinschen@redhat.com
Mon Jun 24 09:42:00 GMT 2013


On Jun 23 23:52, Yaakov (Cygwin/X) wrote:
> Code is based on memchr.c; patch for newlib attached.

In how far is rawmemchr different from strchr?  Why don't we just alias
rawmemchr to strchr?  Our strchr also uses an optimized search
algorithm, so, as far as I'm concerned, there's no reason to duplicate
this functionality.  Am I missing something?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat



More information about the Newlib mailing list