[Gllug] Re: [OxLUG] C function strcasecmp

Jim Cheetham jim at gonzul.org
Fri Jul 20 10:45:30 UTC 2001


At 06:11 20/07/2001 -0400, SteveC wrote:
>On Fri, 20 Jul 2001, Alain Williams wrote:
> > OK: Linux has it, BSD 4.4 has it (the manual says), but how portable is 
> it ?
> > Sun, HP, AIX I suppose are the most important.
>s[i]==t[i] || s[i]-32==t[i] || s[i]+32==t[i]
>
>would be a (very broken) example?
>
>I don't see it here so I assume its not ANSI...

That really wouldn't be very Unicode aware ... :-) but then again, neither 
is strcasecmp, unless you specify the charset ...
http://mail.gnome.org/archives/gnome-hackers-readonly/2001-May/msg00045.html
http://www.w3.org/Amaya/User/Unicode-dev.html



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list