1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2015 Garrett D'Amore <garrett@damore.org>
14#
15
16#
17# Definitions found in wctype.h
18#
19
20#
21# Types.
22#
23type |	wint_t		| wctype.h | ALL
24type |	wctrans_t	| wctype.h | ALL
25type |	wctype_t	| wctype.h | ALL
26
27#
28# Values.
29#
30value |	WEOF		| wint_t	| wctype.h | ALL -XPG4+ SUSv2+
31
32#
33# Functions
34#
35func |	iswalnum							|\
36	int								|\
37	wint_t								|\
38	wctype.h | ALL
39
40func |	iswalnum_l							|\
41	int								|\
42	wint_t; locale_t						|\
43	wctype.h | -ALL SUSv4+
44
45func |	iswalpha							|\
46	int								|\
47	wint_t								|\
48	wctype.h | ALL
49
50func |	iswalpha_l							|\
51	int								|\
52	wint_t; locale_t						|\
53	wctype.h | -ALL SUSv4+
54
55func |	iswblank							|\
56	int								|\
57	wint_t								|\
58	wctype.h | C99+
59
60func |	iswblank_l							|\
61	int								|\
62	wint_t; locale_t						|\
63	wctype.h | -ALL SUSv4+
64
65func |	iswcntrl							|\
66	int								|\
67	wint_t								|\
68	wctype.h | ALL
69
70func |	iswcntrl_l							|\
71	int								|\
72	wint_t; locale_t						|\
73	wctype.h | -ALL SUSv4+
74
75func |	iswctype							|\
76	int								|\
77	wint_t; wctype_t						|\
78	wctype.h | ALL
79
80func |	iswctype_l							|\
81	int								|\
82	wint_t; wctype_t; locale_t					|\
83	wctype.h | -ALL SUSv4+
84
85func |	iswdigit							|\
86	int								|\
87	wint_t								|\
88	wctype.h | ALL
89
90func |	iswdigit_l							|\
91	int								|\
92	wint_t; locale_t						|\
93	wctype.h | -ALL SUSv4+
94
95func |	iswgraph							|\
96	int								|\
97	wint_t								|\
98	wctype.h | ALL
99
100func |	iswgraph_l							|\
101	int								|\
102	wint_t; locale_t						|\
103	wctype.h | -ALL SUSv4+
104
105func |	iswlower							|\
106	int								|\
107	wint_t								|\
108	wctype.h | ALL
109
110func |	iswlower_l							|\
111	int								|\
112	wint_t; locale_t						|\
113	wctype.h | -ALL SUSv4+
114
115func |	iswprint							|\
116	int								|\
117	wint_t								|\
118	wctype.h | ALL
119
120func |	iswprint_l							|\
121	int								|\
122	wint_t; locale_t						|\
123	wctype.h | -ALL SUSv4+
124
125func |	iswpunct							|\
126	int								|\
127	wint_t								|\
128	wctype.h | ALL
129
130func |	iswpunct_l							|\
131	int								|\
132	wint_t; locale_t						|\
133	wctype.h | -ALL SUSv4+
134
135func |	iswspace							|\
136	int								|\
137	wint_t								|\
138	wctype.h | ALL
139
140func |	iswspace_l							|\
141	int								|\
142	wint_t; locale_t						|\
143	wctype.h | -ALL SUSv4+
144
145func |	iswupper							|\
146	int								|\
147	wint_t								|\
148	wctype.h | ALL
149
150func |	iswupper_l							|\
151	int								|\
152	wint_t; locale_t						|\
153	wctype.h | -ALL SUSv4+
154
155func |	iswxdigit							|\
156	int								|\
157	wint_t								|\
158	wctype.h | ALL
159
160func |	iswxdigit_l							|\
161	int								|\
162	wint_t; locale_t						|\
163	wctype.h | -ALL SUSv4+
164
165func |	towctrans							|\
166	wint_t								|\
167	wint_t; wctrans_t						|\
168	wctype.h | ALL
169
170func |	towctrans_l							|\
171	wint_t								|\
172	wint_t; wctrans_t; locale_t					|\
173	wctype.h | -ALL SUSv4+
174
175func |	towlower							|\
176	wint_t								|\
177	wint_t								|\
178	wctype.h | ALL
179
180func |	towlower_l							|\
181	wint_t								|\
182	wint_t; locale_t						|\
183	wctype.h | -ALL SUSv4+
184
185func |	towupper							|\
186	wint_t								|\
187	wint_t								|\
188	wctype.h | ALL
189
190func |	towupper_l							|\
191	wint_t								|\
192	wint_t; locale_t						|\
193	wctype.h | -ALL SUSv4+
194