Elliott Hughes 3d7a0d9b08 Switch to the OpenBSD wcsto* functions.
This replaces a partial set of non-functional functions with a complete
set of functions, all of which actually work.

This requires us to implement mbsnrtowcs and wcsnrtombs which completes
the set of what we need for libc++.

The mbsnrtowcs is basically a copy & paste of wcsnrtombs, but I'm going
to go straight to looking at using the OpenBSD UTF-8 implementation rather
than keep polishing our home-grown turd.

(This patch also opportunistically switches us over to upstream btowc,
mbrlen, and wctob, since they're all trivially expressed in terms of
other functions.)

Change-Id: I0f81443840de0f1aa73b96f0b51988976793a323
2014-04-29 14:53:11 -07:00
..
2014-01-03 15:58:40 -08:00
2011-09-28 12:17:34 -07:00
2014-02-04 19:26:31 -08:00
2014-04-08 12:19:23 -07:00
2010-01-15 15:57:02 -08:00
2014-02-24 20:22:11 +00:00
2009-03-03 19:28:35 -08:00
2014-04-01 17:16:59 -07:00
2014-02-10 13:31:13 -08:00
2014-04-18 21:48:57 +00:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:01:44 -08:00
2014-04-01 12:40:00 -07:00
2014-01-09 13:54:49 -08:00
2014-03-07 15:41:25 -08:00
2014-04-07 16:41:53 -07:00
2010-06-11 14:39:39 -07:00
2014-03-11 19:13:25 -07:00
2014-04-08 19:37:38 -07:00