summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/btowc.3
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2012-03-13 20:02:41 +0000
committertheraven <theraven@FreeBSD.org>2012-03-13 20:02:41 +0000
commit984b6cc8df18c9b3bd311580bd509167e1c531cf (patch)
tree69a75194f34387281521715537bed87eead85720 /lib/libc/locale/btowc.3
parentb17841f4d2ac6e5e7fa3a9ffadbdb8c97acd19e8 (diff)
downloadFreeBSD-src-984b6cc8df18c9b3bd311580bd509167e1c531cf.zip
FreeBSD-src-984b6cc8df18c9b3bd311580bd509167e1c531cf.tar.gz
First set of xlocale man pages. More to follow...
Approved by: dim (mentor)
Diffstat (limited to 'lib/libc/locale/btowc.3')
-rw-r--r--lib/libc/locale/btowc.39
1 files changed, 9 insertions, 0 deletions
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 ,
OpenPOWER on IntegriCloud