]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/wctype.3.patch
e7052cd8fc7cae44f0a2f056c149e1efc4a6550f
[apple/libc.git] / locale / FreeBSD / wctype.3.patch
1 --- wctype.3.orig Fri Mar 11 18:15:32 2005
2 +++ wctype.3 Fri Mar 11 18:19:55 2005
3 @@ -28,7 +28,8 @@
4 .Dt WCTYPE 3
5 .Os
6 .Sh NAME
7 -.Nm iswctype , wctype
8 +.Nm iswctype , wctype ,
9 +.Nm iswctype_l , wctype_l
10 .Nd "wide character class functions"
11 .Sh LIBRARY
12 .Lb libc
13 @@ -38,6 +39,11 @@
14 .Fn iswctype "wint_t wc" "wctype_t charclass"
15 .Ft wctype_t
16 .Fn wctype "const char *property"
17 +.In xlocale.h
18 +.Ft int
19 +.Fn iswctype_l "wint_t wc" "wctype_t charclass" "locale_t loc"
20 +.Ft wctype_t
21 +.Fn wctype_l "const char *property" "locale_t loc"
22 .Sh DESCRIPTION
23 The
24 .Fn wctype
25 @@ -60,6 +66,18 @@
26 .Fa wc
27 is in the character class
28 .Fa charclass .
29 +.Pp
30 +While the
31 +.Fn iswctype
32 +and
33 +.Fn wctype
34 +functions use the current locale, the
35 +.Fn iswctype_l
36 +and
37 +.Fn wctype_l
38 +functions may be passed locales directly. See
39 +.Xr xlocale 3
40 +for more information.
41 .Sh RETURN VALUES
42 The
43 .Fn iswctype
44 @@ -94,7 +112,8 @@
45 }
46 .Ed
47 .Sh SEE ALSO
48 -.Xr ctype 3
49 +.Xr ctype 3 ,
50 +.Xr xlocale 3
51 .Sh STANDARDS
52 The
53 .Fn iswctype