From 50c77c6e8b152e463f99c4e9225f5603c02d979c Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 21 May 2013 19:59:37 +0000 Subject: Add . The header, part of C11, adds a small number of utility functions for 16/32-bit "universal" characters, which may or may not be UTF-16/32. As our wchar_t is already ISO 10646, simply add light-weight wrappers around wcrtomb() and mbrtowc(). While there, also add (non-yet-standard) _l functions, similar to the ones we already have for the other locale-dependent functions. Reviewed by: theraven --- lib/libc/locale/Symbol.map | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/libc/locale/Symbol.map') diff --git a/lib/libc/locale/Symbol.map b/lib/libc/locale/Symbol.map index f6367dacf3fd..b2f2a35f2fe4 100644 --- a/lib/libc/locale/Symbol.map +++ b/lib/libc/locale/Symbol.map @@ -199,6 +199,14 @@ FBSD_1.3 { __istype_l; __runes_for_locale; _ThreadRuneLocale; + c16rtomb; + c16rtomb_l; + c32rtomb; + c32rtomb_l; + mbrtoc16; + mbrtoc16_l; + mbrtoc32; + mbrtoc32_l; }; FBSDprivate_1.0 { -- cgit v1.2.3