summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/mbtowc.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement mbtowc() in terms of mbrtowc(), and wctomb() in terms of wcrtomb().tjr2003-08-071-24/+20
|
* Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0)tjr2002-10-281-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.tjr2002-10-271-8/+6
|
* Style: One space between "restrict" qualifier and "*".tjr2002-09-061-2/+2
|
* Set errno to EILSEQ when invalid multibyte sequences are detectedtjr2002-09-031-1/+4
| | | | (XSI extension to 1003.1-2001).
* Add restrict qualifiers to the arguments of mbstowcs, mbtowc() andtjr2002-09-011-2/+2
| | | | wcstombs().
* Split ansi.c into a separate source file for each function.tjr2002-08-311-0/+61
OpenPOWER on IntegriCloud