summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-02-23 14:07:08 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-02-23 14:07:08 +0000
commita2036998b1b5d611e7af0546063b12f35a204f39 (patch)
tree1d37052a0cf269f12453640aa48da7d367166aea /newlib/libc
parented64b7583c2e070fed210dbae9a4d6431bad4888 (diff)
downloadcygnal-a2036998b1b5d611e7af0546063b12f35a204f39.tar.gz
cygnal-a2036998b1b5d611e7af0546063b12f35a204f39.tar.bz2
cygnal-a2036998b1b5d611e7af0546063b12f35a204f39.zip
* locale.cc (printlocale): Remove.
(loc_t): New type to keep locale information for printing. (print_codeset): New function to print codeset as on Linux. (print_locale_with_codeset): New function to print single locale. Print verbose style as the Linux locale(1) tool. (print_locale): New function to print single locale plus its UTF-8 variation, if available. (compare_locales): New helper function for bsearch and qsort on loc_t. (add_locale): New function to store locale in loc_t array. (add_locale_alias_locales): New function to store locales from locale.alias file in loc_t. (print_all_locales): Call add_locale instead of printlocale. Call add_locale_alias_locales, sort locales alphabetically and print them.
Diffstat (limited to 'newlib/libc')
0 files changed, 0 insertions, 0 deletions