Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a | theraven | 2011-11-20 | 1 | -4/+14 |
| | | | | | | | | | | | | load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation. Please test any code you have that uses the C standard locale functions! Reviewed by: das (gdtoa changes) Approved by: dim (mentor) | ||||
* | Remove unnecessary #include directives. | tjr | 2004-07-29 | 1 | -3/+0 |
| | |||||
* | Remove useless checks for characters longer than INT_MAX bytes. | tjr | 2004-07-29 | 1 | -4/+0 |
| | |||||
* | Reduce overhead by calling internal versions of the multibyte conversion | tjr | 2004-05-12 | 1 | -1/+2 |
| | | | | functions directly wherever possible. | ||||
* | Prepare to handle state-dependent encodings. This mainly involves not | tjr | 2004-04-06 | 1 | -8/+7 |
| | | | | | taking shortcuts when it comes to storing and passing around conversion states. | ||||
* | Implement mbtowc() in terms of mbrtowc(), and wctomb() in terms of wcrtomb(). | tjr | 2003-08-07 | 1 | -24/+20 |
| | |||||
* | Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0) | tjr | 2002-10-28 | 1 | -4/+3 |
| | | | | | | | return -1 regardless of what s points to, mbtowc(&w, s, 1) sets w to a null wide character when s points to a null byte. This seems to be closer to what most other implementations do, but the C99 standard contradicts itself for these cases. | ||||
* | Style sweep. | tjr | 2002-10-27 | 1 | -8/+6 |
| | |||||
* | Style: One space between "restrict" qualifier and "*". | tjr | 2002-09-06 | 1 | -2/+2 |
| | |||||
* | Set errno to EILSEQ when invalid multibyte sequences are detected | tjr | 2002-09-03 | 1 | -1/+4 |
| | | | | (XSI extension to 1003.1-2001). | ||||
* | Add restrict qualifiers to the arguments of mbstowcs, mbtowc() and | tjr | 2002-09-01 | 1 | -2/+2 |
| | | | | wcstombs(). | ||||
* | Split ansi.c into a separate source file for each function. | tjr | 2002-08-31 | 1 | -0/+61 |