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
..
2013-12-03 18:42:41 -08:00
2013-12-03 18:42:41 -08:00
2014-04-08 12:19:23 -07:00
2013-02-01 14:51:19 -08:00
2014-02-24 20:22:11 +00:00
2014-04-08 19:37:38 -07:00
2013-10-29 14:55:11 -07:00
2014-02-12 19:04:27 -08:00
2014-04-10 20:44:27 -07:00
2014-02-21 16:27:21 +00:00
2014-04-17 17:30:03 -07:00
2014-04-08 17:16:13 -07:00
2014-04-07 16:41:53 -07:00
2013-02-13 14:40:48 -08:00
2014-02-24 15:55:31 -08:00
2014-01-09 11:00:04 -08:00
2014-01-03 14:49:37 -08:00
2014-02-24 20:22:11 +00:00