summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fputwc.c
Commit message (Collapse)AuthorAgeFilesLines
* Set the error bit on the stream if an encoding error occurs. Improvetjr2002-10-161-1/+3
| | | | handling of multibyte sequences representing null wide characters.
* Introduce unlocked versions of fputwc() and fgetwc() called __fputwc()tjr2002-09-201-11/+21
| | | | and __fgetwc() which can be used when we know the file is locked.
* Optimise the common case where no special encoding is in use (LC_CTYPE is "C"tjr2002-09-181-5/+23
| | | | | | or "POSIX", other European locales). Use __sgetc() and __sputc() where possible to avoid a wasteful lock and unlock for each byte and to avoid function call overhead.
* Reimplement the functionality of fgetrune(), fputrune(), and fungetrune()tjr2002-09-181-2/+13
| | | | | | here in terms of mbrtowc(), wcrtomb(), and the single-byte I/O functions. The rune I/O functions are about to become deprecated in favour of the ones provided by ISO C90 Amd. 1 and C99.
* Basic support for wide character I/O: getwc(), fgetwc(), getwchar(),tjr2002-08-131-0/+46
putwc(), fputwc(), putwchar(), ungetwc(), fwide().
OpenPOWER on IntegriCloud