]>
Commit | Line | Data |
---|---|---|
1f2f436a A |
1 | --- nextwctype.3.orig 2009-11-10 13:13:11.000000000 -0800 |
2 | +++ nextwctype.3 2009-11-10 14:53:56.000000000 -0800 | |
3d9156a7 A |
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 | |
1f2f436a A |
13 | @@ -37,6 +38,9 @@ |
14 | .In wctype.h | |
15 | .Ft wint_t | |
16 | .Fn nextwctype "wint_t ch" "wctype_t wct" | |
3d9156a7 A |
17 | +.In xlocale.h |
18 | +.Ft wint_t | |
1f2f436a | 19 | +.Fn nextwctype_l "wint_t ch" "wctype_t wct" "locale_t loc" |
3d9156a7 A |
20 | .Sh DESCRIPTION |
21 | The | |
22 | .Fn nextwctype | |
1f2f436a | 23 | @@ -48,6 +52,14 @@ If |
3d9156a7 A |
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 | |
1f2f436a | 31 | + .Fn nextwctype_l |
3d9156a7 A |
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 | |
1f2f436a A |
38 | @@ -59,7 +71,8 @@ extension and should not be used where t |
39 | .Fn iswctype | |
40 | function would suffice. | |
3d9156a7 A |
41 | .Sh SEE ALSO |
42 | -.Xr wctype 3 | |
43 | +.Xr wctype 3 , | |
44 | +.Xr xlocale 3 | |
1f2f436a A |
45 | .Sh HISTORY |
46 | The | |
47 | .Fn nextwctype |