xref: /illumos-gate/usr/src/test/libc-tests/cfg/symbols/wchar_h.cfg (revision ed093b41a93e8563e6e1e5dae0768dda2a7bcc27)
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 |  open_wmemstream						|\
35	FILE *							|\
36	wchar_t **; size_t *					|\
37	wchar.h | -ALL SUSv4+
38
39func |	wcpcpy							|\
40	wchar_t *						|\
41	wchar_t *; const wchar_t *				|\
42	wchar.h | -ALL SUSv4+
43
44func |	wcpncpy							|\
45	wchar_t *						|\
46	wchar_t *; const wchar_t *; size_t			|\
47	wchar.h	| -ALL SUSv4+
48
49func |	wcsdup							|\
50	wchar_t *						|\
51	const wchar_t *						|\
52	wchar.h | -ALL SUSv4+
53
54func |	wcscasecmp						|\
55	int							|\
56	const wchar_t *; const wchar_t *			|\
57	wchar.h	| -ALL SUSv4+
58
59func |	wcscasecmp_l						|\
60	int							|\
61	const wchar_t *; const wchar_t *; locale_t		|\
62	wchar.h | -ALL SUSv4+
63
64# technically this is new in C90-Amd1, but we don't have a test for it.
65func |	wcslen							|\
66	size_t							|\
67	const wchar_t *						|\
68	wchar.h | ALL
69
70func |	wcsncasecmp						|\
71	int							|\
72	const wchar_t *; const wchar_t *; size_t		|\
73	wchar.h	| -ALL SUSv4+
74
75func |	wcsncasecmp_l						|\
76	int							|\
77	const wchar_t *; const wchar_t *; size_t; locale_t	|\
78	wchar.h	| -ALL SUSv4+
79
80func |	wcsnlen							|\
81	size_t							|\
82	const wchar_t *; size_t					|\
83	wchar.h	| -ALL SUSv4+
84
85func |	wcswcs							|\
86	wchar_t *						|\
87	const wchar_t *; const wchar_t *			|\
88	wchar.h	| -ALL XPG4+
89