summaryrefslogtreecommitdiffstats
path: root/libc/misc/locale/locale.c
Commit message (Collapse)AuthorAgeFilesLines
* Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III2002-07-031-12/+7
| | | | | | Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
* Added a version of nl_langinfo for the stub C/POSIX locale support.Manuel Novoa III2002-06-081-3/+92
|
* New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III2002-05-061-272/+447
| | | | | | | | | | | | | | | | | | | | | | LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also, nl_langinfo() when real locale support is enabled. New implementation of ctype.h. New implementation of wctype.h. New implementation of most of the string functions (smaller). New implementation of the wcs/wmem functions. These are untested, but they're also just preprocessor-modified versions ot the corresponding str/mem functions. Tweaked qsort and new bsearch. Stuff still pending: stdlib.h and wchar.h mb<->wc functions. I actually have working versions of the stdlib ones, but the reentrant versions from wchar.h require some reworking. Basic replacement and translit support for wc->mb conversions. (groundwork laid). Simple-minded collate support such as was provided by the previous locale implementation. (mostly done -- 8-bit codesets only) Shared mmaping of the locale data and strerror message text.
* Add locale-enabled strcoll function from vodz, plus supporting tool.Manuel Novoa III2001-06-021-75/+246
|
* Stub out localeconv. Please look over this to check it is correct....Eric Andersen2001-03-211-3/+0
| | | | | | | | I started trying to read the glibc code -- but that code is far too messy to be read. So I just wrote a silly C app against glibc, set the locale to POSIX, then called localeconv(). I wrote this version of localeconv.c so it returns the same stuff. -Erik
* Since Erik apparently wants def/undef vs def 1/0...Manuel Novoa III2001-03-191-1/+1
|
* Part of the ctype locale support.Manuel Novoa III2001-03-181-0/+164