This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add rawmemchr


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]