1 .\" Copyright (c) 2012 Isabell Long <issyl0@FreeBSD.org>
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
56 .Nd wide character classification utilities
62 .Fn iswalnum_l "wint_t wc" "locale_t loc"
64 .Fn iswalpha_l "wint_t wc" "locale_t loc"
66 .Fn iswcntrl_l "wint_t wc" "locale_t loc"
68 .Fn iswctype_l "wint_t wc" "locale_t loc"
70 .Fn iswdigit_l "wint_t wc" "locale_t loc"
72 .Fn iswgraph_l "wint_t wc" "locale_t loc"
74 .Fn iswlower_l "wint_t wc" "locale_t loc"
76 .Fn iswprint_l "wint_t wc" "locale_t loc"
78 .Fn iswpunct_l "wint_t wc" "locale_t loc"
80 .Fn iswspace_l "wint_t wc" "locale_t loc"
82 .Fn iswupper_l "wint_t wc" "locale_t loc"
84 .Fn iswxdigit_l "wint_t wc" "locale_t loc"
86 .Fn towlower_l "wint_t wc" "locale_t loc"
88 .Fn towupper_l "wint_t wc" "locale_t loc"
90 .Fn wctype_l "wint_t wc" "locale_t loc"
92 .Fn iswblank_l "wint_t wc" "locale_t loc"
94 .Fn iswhexnumber_l "wint_t wc" "locale_t loc"
96 .Fn iswideogram_l "wint_t wc" "locale_t loc"
98 .Fn iswnumber_l "wint_t wc" "locale_t loc"
100 .Fn iswphonogram_l "wint_t wc" "locale_t loc"
102 .Fn iswrune_l "wint_t wc" "locale_t loc"
104 .Fn iswspecial_l "wint_t wc" "locale_t loc"
106 .Fn nextwctype_l "wint_t wc" "locale_t loc"
108 .Fn towctrans_l "wint_t wc" "wctrans_t" "locale_t loc"
110 .Fn wctrans_l "const char *" "locale_t loc"
112 The above functions are character classification utility functions,
113 for use with wide characters
119 They behave in the same way as the versions without the _l suffix, but use
120 the specified locale rather than the global or per-thread locale.
121 These functions may be implemented as inline functions in
123 and as functions in the C library.
124 See the specific manual pages for more information.
126 These functions return the same things as their non-locale versions.
127 If the locale is invalid, their behaviors are undefined.
155 These functions conform to