Tim J. Robbins d4f6cd06dd Allow mbrtowc() and wcrtomb() to be implemented directly, instead of
as wrappers around the deprecated 4.4BSD rune functions. This paves the
way for state-dependent encodings, which the rune API does not support.
- Add __emulated_sgetrune() and __emulated_sputrune(), which are
  implementations of sgetrune() and sputrune() in terms of
  mbrtowc() and wcrtomb().
- Rename the old rune-wrapper mbrtowc() and wcrtomb() functions to
  __emulated_mbrtowc() and __emulated_wcrtomb().
- Add __mbrtowc and __wcrtomb function pointers, which point to the
  current locale's conversion functions, or the __emulated versions.
- Implement mbrtowc() and wcrtomb() as calls to these function pointers.
- Make the "NONE" encoding implement mbrtowc() and wcrtomb() directly.

All of this emulation mess will be removed, together with rune support,
in FreeBSD 6.
2003-11-01 05:13:13 +00:00
..
2003-08-18 15:25:39 +00:00
2003-10-12 22:04:24 +00:00
2003-06-14 19:32:52 +00:00
Use
2003-06-06 13:46:55 +00:00
2003-06-08 10:34:00 +00:00
2003-08-18 15:25:39 +00:00
2003-10-26 12:00:27 +00:00
2003-08-18 15:25:39 +00:00
2003-10-05 13:39:28 +00:00
2003-10-09 23:06:06 +00:00
Use
2003-06-06 13:46:55 +00:00
2003-06-08 10:34:00 +00:00
Use
2003-06-06 13:46:55 +00:00
2002-09-28 00:25:32 +00:00
2003-08-18 15:25:39 +00:00
2002-09-28 00:25:32 +00:00
2003-06-01 19:41:49 +00:00
2003-10-29 10:55:56 +00:00
2002-09-28 00:25:32 +00:00
2003-08-30 13:57:31 +00:00
2002-09-28 00:25:32 +00:00