]> git.saurik.com Git - apple/libc.git/blame_incremental - locale/FreeBSD/nextwctype.3.patch
Libc-763.13.tar.gz
[apple/libc.git] / locale / FreeBSD / nextwctype.3.patch
... / ...
CommitLineData
1--- nextwctype.3.orig 2009-11-10 13:13:11.000000000 -0800
2+++ nextwctype.3 2009-11-10 14:53:56.000000000 -0800
3@@ -29,7 +29,8 @@
4 .Dt NEXTWCTYPE 3
5 .Os
6 .Sh NAME
7-.Nm nextwctype
8+.Nm nextwctype ,
9+.Nm nextwctype_l
10 .Nd "iterate through character classes"
11 .Sh LIBRARY
12 .Lb libc
13@@ -37,6 +38,9 @@
14 .In wctype.h
15 .Ft wint_t
16 .Fn nextwctype "wint_t ch" "wctype_t wct"
17+.In xlocale.h
18+.Ft wint_t
19+.Fn nextwctype_l "wint_t ch" "wctype_t wct" "locale_t loc"
20 .Sh DESCRIPTION
21 The
22 .Fn nextwctype
23@@ -48,6 +52,14 @@ If
24 .Fa ch
25 is \-1, the search begins at the first member of
26 .Fa wct .
27+.Pp
28+While the
29+.Fn nextwctype
30+function uses the current locale, the
31+ .Fn nextwctype_l
32+function may be passed a locale directly. See
33+.Xr xlocale 3
34+for more information.
35 .Sh RETURN VALUES
36 The
37 .Fn nextwctype
38@@ -59,7 +71,8 @@ extension and should not be used where t
39 .Fn iswctype
40 function would suffice.
41 .Sh SEE ALSO
42-.Xr wctype 3
43+.Xr wctype 3 ,
44+.Xr xlocale 3
45 .Sh HISTORY
46 The
47 .Fn nextwctype