From 984b6cc8df18c9b3bd311580bd509167e1c531cf Mon Sep 17 00:00:00 2001 From: theraven Date: Tue, 13 Mar 2012 20:02:41 +0000 Subject: First set of xlocale man pages. More to follow... Approved by: dim (mentor) --- lib/libc/locale/btowc.3 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/libc/locale/btowc.3') diff --git a/lib/libc/locale/btowc.3 b/lib/libc/locale/btowc.3 index 9eca437..d9c3e9c 100644 --- a/lib/libc/locale/btowc.3 +++ b/lib/libc/locale/btowc.3 @@ -39,6 +39,12 @@ .Fn btowc "int c" .Ft int .Fn wctob "wint_t c" +.In wchar.h +.In xlocale.h +.Ft wint_t +.Fn btowc "int c" +.Ft int +.Fn wctob "wint_t c" .Sh DESCRIPTION The .Fn btowc @@ -59,6 +65,9 @@ or not able to be represented as a single byte in the initial shift state, .Fn wctob returns .Dv EOF . +.Pp +The _l-suffixed versions take an explicit locale argument, while the +non-suffixed versions use the current global or per-thread locale. .Sh SEE ALSO .Xr mbrtowc 3 , .Xr multibyte 3 , -- cgit v1.1