[RFC] Refresh iswblank and iswspace (was Re: Update wctype functions to Unicode 5.2?)

Corinna Vinschen vinschen@redhat.com
Tue Feb 16 16:52:00 GMT 2010

On Feb 16 11:05, Howland Craig D (Craig) wrote:
> Unfortunately, not quite so simple--but almost:
> we'd need to check if the locale is exactly either "C" or "POSIX".
> (It's a little annoying that POSIX allows either when there is no
> apparent difference between them, but it's what they require.)

No.  The test for "C" is sufficient.  Setlocale always sets the locale
to "C" internally, if the incoming locale string is "C" or "POSIX".


Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

More information about the Newlib mailing list