LWN.net Logo

A turning point for GNU libc

A turning point for GNU libc

Posted Mar 31, 2012 10:01 UTC (Sat) by mpr22 (subscriber, #60784)
In reply to: A turning point for GNU libc by justincormack
Parent article: A turning point for GNU libc

setlocale() and strcoll() (among other locale-related things) are both defined as part of the 1990 and 1999 versions of the ISO C standard, and I am not aware of them having been removed from the 2011 version. Therefore, every compliant hosted implementation of the C programming language is obliged to provide setlocale() and strcoll(), and by saying you don't want locales in your low-level libraries you are saying you don't want a compliant hosted implementation of the C programming language.


(Log in to post comments)

A turning point for GNU libc

Posted Apr 5, 2012 8:29 UTC (Thu) by nix (subscriber, #2304) [Link]

setlocale(), strcoll(), and for that matter localeconv() are, of course, still there in C11, just as they were in C99 and C89.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds