xref: /freebsd/lib/libc/locale/iswalnum_l.3 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1b3f18e53SIsabell Long.\" Copyright (c) 2012 Isabell Long <issyl0@FreeBSD.org>
2b3f18e53SIsabell Long.\" All rights reserved.
3b3f18e53SIsabell Long.\"
4b3f18e53SIsabell Long.\" Redistribution and use in source and binary forms, with or without
5b3f18e53SIsabell Long.\" modification, are permitted provided that the following conditions
6b3f18e53SIsabell Long.\" are met:
7b3f18e53SIsabell Long.\" 1. Redistributions of source code must retain the above copyright
8b3f18e53SIsabell Long.\"    notice, this list of conditions and the following disclaimer.
9b3f18e53SIsabell Long.\" 2. Redistributions in binary form must reproduce the above copyright
10b3f18e53SIsabell Long.\"    notice, this list of conditions and the following disclaimer in the
11b3f18e53SIsabell Long.\"    documentation and/or other materials provided with the distribution.
12b3f18e53SIsabell Long.\"
13b3f18e53SIsabell Long.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14b3f18e53SIsabell Long.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15b3f18e53SIsabell Long.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16b3f18e53SIsabell Long.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17b3f18e53SIsabell Long.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18b3f18e53SIsabell Long.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19b3f18e53SIsabell Long.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20b3f18e53SIsabell Long.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21b3f18e53SIsabell Long.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22b3f18e53SIsabell Long.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23b3f18e53SIsabell Long.\" SUCH DAMAGE.
24b3f18e53SIsabell Long.\"
25b3f18e53SIsabell Long.Dd July 25, 2012
26*a18f8851SJoel Dahl.Dt ISWALNUM_L 3
27b3f18e53SIsabell Long.Os
28b3f18e53SIsabell Long.Sh NAME
29b3f18e53SIsabell Long.Nm iswalnum_l ,
30b3f18e53SIsabell Long.Nm iswalpha_l ,
31b3f18e53SIsabell Long.Nm iswcntrl_l ,
32b3f18e53SIsabell Long.Nm iswctype_l ,
33b3f18e53SIsabell Long.Nm iswdigit_l ,
34b3f18e53SIsabell Long.Nm iswgraph_l ,
35b3f18e53SIsabell Long.Nm iswlower_l ,
36b3f18e53SIsabell Long.Nm iswprint_l ,
37b3f18e53SIsabell Long.Nm iswpunct_l ,
38b3f18e53SIsabell Long.Nm iswspace_l ,
39b3f18e53SIsabell Long.Nm iswupper_l ,
40b3f18e53SIsabell Long.Nm iswxdigit_l ,
41b3f18e53SIsabell Long.Nm towlower_l ,
42b3f18e53SIsabell Long.Nm towupper_l ,
43b3f18e53SIsabell Long.Nm wctype_l ,
44b3f18e53SIsabell Long.Nm iswblank_l ,
45b3f18e53SIsabell Long.Nm iswhexnumber_l ,
46b3f18e53SIsabell Long.Nm iswideogram_l ,
47b3f18e53SIsabell Long.Nm iswnumber_l ,
48b3f18e53SIsabell Long.Nm iswphonogram_l ,
49b3f18e53SIsabell Long.Nm iswrune_l ,
50b3f18e53SIsabell Long.Nm iswspecial_l ,
51b3f18e53SIsabell Long.Nm nextwctype_l ,
52b3f18e53SIsabell Long.Nm towctrans_l ,
53b3f18e53SIsabell Long.Nm wctrans_l
54b3f18e53SIsabell Long.Nd wide character classification utilities
55b3f18e53SIsabell Long.Sh LIBRARY
56b3f18e53SIsabell Long.Lb libc
57b3f18e53SIsabell Long.Sh SYNOPSIS
58b3f18e53SIsabell Long.In wctype.h
59b3f18e53SIsabell Long.Ft int
60b3f18e53SIsabell Long.Fn iswalnum_l "wint_t wc" "locale_t loc"
61b3f18e53SIsabell Long.Ft int
62b3f18e53SIsabell Long.Fn iswalpha_l "wint_t wc" "locale_t loc"
63b3f18e53SIsabell Long.Ft int
64b3f18e53SIsabell Long.Fn iswcntrl_l "wint_t wc" "locale_t loc"
65b3f18e53SIsabell Long.Ft int
66b3f18e53SIsabell Long.Fn iswctype_l "wint_t wc" "locale_t loc"
67b3f18e53SIsabell Long.Ft int
68b3f18e53SIsabell Long.Fn iswdigit_l "wint_t wc" "locale_t loc"
69b3f18e53SIsabell Long.Ft int
70b3f18e53SIsabell Long.Fn iswgraph_l "wint_t wc" "locale_t loc"
71b3f18e53SIsabell Long.Ft int
72b3f18e53SIsabell Long.Fn iswlower_l "wint_t wc" "locale_t loc"
73b3f18e53SIsabell Long.Ft int
74b3f18e53SIsabell Long.Fn iswprint_l "wint_t wc" "locale_t loc"
75b3f18e53SIsabell Long.Ft int
76b3f18e53SIsabell Long.Fn iswpunct_l "wint_t wc" "locale_t loc"
77b3f18e53SIsabell Long.Ft int
78b3f18e53SIsabell Long.Fn iswspace_l "wint_t wc" "locale_t loc"
79b3f18e53SIsabell Long.Ft int
80b3f18e53SIsabell Long.Fn iswupper_l "wint_t wc" "locale_t loc"
81b3f18e53SIsabell Long.Ft int
82b3f18e53SIsabell Long.Fn iswxdigit_l "wint_t wc" "locale_t loc"
83b3f18e53SIsabell Long.Ft wint_t
84b3f18e53SIsabell Long.Fn towlower_l "wint_t wc" "locale_t loc"
85b3f18e53SIsabell Long.Ft wint_t
86b3f18e53SIsabell Long.Fn towupper_l "wint_t wc" "locale_t loc"
87b3f18e53SIsabell Long.Ft wctype_t
88b3f18e53SIsabell Long.Fn wctype_l "wint_t wc" "locale_t loc"
89b3f18e53SIsabell Long.Ft int
90b3f18e53SIsabell Long.Fn iswblank_l "wint_t wc" "locale_t loc"
91b3f18e53SIsabell Long.Ft int
92b3f18e53SIsabell Long.Fn iswhexnumber_l "wint_t wc" "locale_t loc"
93b3f18e53SIsabell Long.Ft int
94b3f18e53SIsabell Long.Fn iswideogram_l "wint_t wc" "locale_t loc"
95b3f18e53SIsabell Long.Ft int
96b3f18e53SIsabell Long.Fn iswnumber_l "wint_t wc" "locale_t loc"
97b3f18e53SIsabell Long.Ft int
98b3f18e53SIsabell Long.Fn iswphonogram_l "wint_t wc" "locale_t loc"
99b3f18e53SIsabell Long.Ft int
100b3f18e53SIsabell Long.Fn iswrune_l "wint_t wc" "locale_t loc"
101b3f18e53SIsabell Long.Ft int
102b3f18e53SIsabell Long.Fn iswspecial_l "wint_t wc" "locale_t loc"
103b3f18e53SIsabell Long.Ft wint_t
104b3f18e53SIsabell Long.Fn nextwctype_l "wint_t wc" "locale_t loc"
105b3f18e53SIsabell Long.Ft wint_t
106b3f18e53SIsabell Long.Fn towctrans_l "wint_t wc" "wctrans_t" "locale_t loc"
107b3f18e53SIsabell Long.Ft wctrans_t
108b3f18e53SIsabell Long.Fn wctrans_l "const char *" "locale_t loc"
109b3f18e53SIsabell Long.Sh DESCRIPTION
110b3f18e53SIsabell LongThe above functions are character classification utility functions,
111b3f18e53SIsabell Longfor use with wide characters
112b3f18e53SIsabell Long.Vt ( wchar_t
113b3f18e53SIsabell Longor
114b3f18e53SIsabell Long.Vt wint_t )
115b3f18e53SIsabell Longin the locale
116b3f18e53SIsabell Long.Fa loc .
117b3f18e53SIsabell LongThey behave in the same way as the versions without the _l suffix, but use
118b3f18e53SIsabell Longthe specified locale rather than the global or per-thread locale.
119b3f18e53SIsabell LongThese functions may be implemented as inline functions in
120b3f18e53SIsabell Long.In wctype.h
121b3f18e53SIsabell Longand as functions in the C library.
122b3f18e53SIsabell LongSee the specific manual pages for more information.
123b3f18e53SIsabell Long.Sh RETURN VALUES
124b3f18e53SIsabell LongThese functions return the same things as their non-locale versions.
125b3f18e53SIsabell LongIf the locale is invalid, their behaviors are undefined.
126b3f18e53SIsabell Long.Sh SEE ALSO
127b3f18e53SIsabell Long.Xr iswalnum 3 ,
128b3f18e53SIsabell Long.Xr iswalpha 3 ,
129b3f18e53SIsabell Long.Xr iswblank 3 ,
130b3f18e53SIsabell Long.Xr iswcntrl 3 ,
131b3f18e53SIsabell Long.Xr iswctype 3 ,
132b3f18e53SIsabell Long.Xr iswdigit 3 ,
133b3f18e53SIsabell Long.Xr iswgraph 3 ,
134b3f18e53SIsabell Long.Xr iswhexnumber 3 ,
135b3f18e53SIsabell Long.Xr iswideogram 3 ,
136b3f18e53SIsabell Long.Xr iswlower 3 ,
137b3f18e53SIsabell Long.Xr iswnumber 3 ,
138b3f18e53SIsabell Long.Xr iswphonogram 3 ,
139b3f18e53SIsabell Long.Xr iswprint 3 ,
140b3f18e53SIsabell Long.Xr iswpunct 3 ,
141b3f18e53SIsabell Long.Xr iswrune 3 ,
142b3f18e53SIsabell Long.Xr iswspace 3 ,
143b3f18e53SIsabell Long.Xr iswspecial 3 ,
144b3f18e53SIsabell Long.Xr iswupper 3 ,
145b3f18e53SIsabell Long.Xr iswxdigit 3 ,
146b3f18e53SIsabell Long.Xr nextwctype 3 ,
147b3f18e53SIsabell Long.Xr towctrans 3 ,
148b3f18e53SIsabell Long.Xr towlower 3 ,
149b3f18e53SIsabell Long.Xr towupper 3 ,
150b3f18e53SIsabell Long.Xr wctrans 3 ,
151b3f18e53SIsabell Long.Xr wctype 3
152b3f18e53SIsabell Long.Sh STANDARDS
153b3f18e53SIsabell LongThese functions conform to
154b3f18e53SIsabell Long.St -p1003.1-2008 ,
155b3f18e53SIsabell Longexcept for
156b3f18e53SIsabell Long.Fn iswascii_l ,
157b3f18e53SIsabell Long.Fn iswhexnumber_l ,
158b3f18e53SIsabell Long.Fn iswideogram_l ,
159b3f18e53SIsabell Long.Fn iswphonogram_l ,
160b3f18e53SIsabell Long.Fn iswrune_l ,
161b3f18e53SIsabell Long.Fn iswspecial_l
162b3f18e53SIsabell Longand
163b3f18e53SIsabell Long.Fn nextwctype_l
164b3f18e53SIsabell Longwhich are
165b3f18e53SIsabell Long.Fx
166b3f18e53SIsabell Longextensions.
167