Subject: Re: Adding strcasestr(3)
To: Martin Husemann <martin@duskware.de>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-userlevel
Date: 07/04/2004 20:11:37
you wrote:
> On Sat, Jul 03, 2004 at 10:57:36PM +0000, Charles M. Hannum wrote:
> > It goes with strcasecmp(3).
>
> Ewww, thats a bad name too ;-)
But it's a property inherited from 4.4BSD.
Compatibility with other Unices is also important, considering that most
open source applications are being written for Linux as the primary
platform nowadays.
>
> Btw: strcasecmp(3) sounds like it is ignoring locales, while the code
> seems to do the right thing - maybe this should be worded slightly
> different.
I'm not quite sure on this. If you're concerned with locales, shouldn't you
use wcs*(3) instead?
Jun-Young