]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/nextwctype.3.patch
Libc-594.9.5.tar.gz
[apple/libc.git] / locale / FreeBSD / nextwctype.3.patch
1 --- nextwctype.3.orig Fri Mar 11 19:44:47 2005
2 +++ nextwctype.3 Fri Mar 11 19:53:29 2005
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 @@ -39,6 +40,11 @@
14 .Fo nextwctype
15 .Fa "wint_t ch" "wctype_t wct"
16 .Fc
17 +.In xlocale.h
18 +.Ft wint_t
19 +.Fo nextwctype_l
20 +.Fa "wint_t ch" "wctype_t wct" "locale_t loc"
21 +.Fc
22 .Sh DESCRIPTION
23 The
24 .Fn nextwctype
25 @@ -50,9 +56,18 @@
26 .Fa ch
27 is \-1, the search begins at the first member of
28 .Fa wct .
29 +.Pp
30 +While the
31 +.Fn nextwctype
32 +function uses the current locale, the
33 +.Fn nextwctype_l
34 +function may be passed a locale directly. See
35 +.Xr xlocale 3
36 +for more information.
37 .Sh RETURN VALUES
38 The
39 .Fn nextwctype
40 functions returns the next character, or \-1 if there are no more.
41 .Sh SEE ALSO
42 -.Xr wctype 3
43 +.Xr wctype 3 ,
44 +.Xr xlocale 3