xref: /illumos-gate/usr/src/test/libc-tests/cfg/symbols/wchar_h.cfg (revision 8c69cc8fbe729fa7b091e901c4b50508ccc6bb33)
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 wchar.h
18#
19
20#
21# Types.
22#
23type | locale_t | wchar.h |  -ALL SUSv4+
24type | wctype_t | wchar.h |  -ALL XPG3+
25
26#
27# Values.
28#
29value | NULL | void * | wchar.h | ALL
30
31#
32# Functions
33#
34func |	wcpcpy							|\
35	wchar_t *						|\
36	wchar_t *; const wchar_t *				|\
37	wchar.h | -ALL SUSv4+
38
39func |	wcpncpy							|\
40	wchar_t *						|\
41	wchar_t *; const wchar_t *; size_t			|\
42	wchar.h	| -ALL SUSv4+
43
44func |	wcsdup							|\
45	wchar_t *						|\
46	const wchar_t *						|\
47	wchar.h | -ALL SUSv4+
48
49func |	wcscasecmp						|\
50	int							|\
51	const wchar_t *; const wchar_t *			|\
52	wchar.h	| -ALL SUSv4+
53
54func |	wcscasecmp_l						|\
55	int							|\
56	const wchar_t *; const wchar_t *; locale_t		|\
57	wchar.h | -ALL SUSv4+
58
59# technically this is new in C90-Amd1, but we don't have a test for it.
60func |	wcslen							|\
61	size_t							|\
62	const wchar_t *						|\
63	wchar.h | ALL
64
65func |	wcsncasecmp						|\
66	int							|\
67	const wchar_t *; const wchar_t *; size_t		|\
68	wchar.h	| -ALL SUSv4+
69
70func |	wcsncasecmp_l						|\
71	int							|\
72	const wchar_t *; const wchar_t *; size_t; locale_t	|\
73	wchar.h	| -ALL SUSv4+
74
75func |	wcsnlen							|\
76	size_t							|\
77	const wchar_t *; size_t					|\
78	wchar.h	| -ALL SUSv4+
79
80func |	wcswcs							|\
81	wchar_t *						|\
82	const wchar_t *; const wchar_t *			|\
83	wchar.h	| -ALL XPG4+
84