1de572d98SGarrett D'Amore#
2de572d98SGarrett D'Amore# This file and its contents are supplied under the terms of the
3de572d98SGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
4de572d98SGarrett D'Amore# You may only use this file in accordance with the terms of version
5de572d98SGarrett D'Amore# 1.0 of the CDDL.
6de572d98SGarrett D'Amore#
7de572d98SGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
8de572d98SGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
9de572d98SGarrett D'Amore# http://www.illumos.org/license/CDDL.
10de572d98SGarrett D'Amore#
11de572d98SGarrett D'Amore
12de572d98SGarrett D'Amore#
13de572d98SGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org>
14de572d98SGarrett D'Amore#
15de572d98SGarrett D'Amore
16de572d98SGarrett D'Amore#
17de572d98SGarrett D'Amore# Definitions found in wchar.h
18de572d98SGarrett D'Amore#
19de572d98SGarrett D'Amore
20de572d98SGarrett D'Amore#
21de572d98SGarrett D'Amore# Types.
22de572d98SGarrett D'Amore#
23de572d98SGarrett D'Amoretype | locale_t | wchar.h |  -ALL SUSv4+
24de572d98SGarrett D'Amoretype | wctype_t | wchar.h |  -ALL XPG3+
25de572d98SGarrett D'Amore
26de572d98SGarrett D'Amore#
27de572d98SGarrett D'Amore# Values.
28de572d98SGarrett D'Amore#
29de572d98SGarrett D'Amorevalue | NULL | void * | wchar.h | ALL
30de572d98SGarrett D'Amore
31de572d98SGarrett D'Amore#
32de572d98SGarrett D'Amore# Functions
33de572d98SGarrett D'Amore#
34*cd62a92dSRobert Mustacchifunc |  open_wmemstream						|\
35*cd62a92dSRobert Mustacchi	FILE *							|\
36*cd62a92dSRobert Mustacchi	wchar_t **; size_t *					|\
37*cd62a92dSRobert Mustacchi	wchar.h | -ALL SUSv4+
38*cd62a92dSRobert Mustacchi
39de572d98SGarrett D'Amorefunc |	wcpcpy							|\
40de572d98SGarrett D'Amore	wchar_t *						|\
41de572d98SGarrett D'Amore	wchar_t *; const wchar_t *				|\
42de572d98SGarrett D'Amore	wchar.h | -ALL SUSv4+
43de572d98SGarrett D'Amore
44de572d98SGarrett D'Amorefunc |	wcpncpy							|\
45de572d98SGarrett D'Amore	wchar_t *						|\
46de572d98SGarrett D'Amore	wchar_t *; const wchar_t *; size_t			|\
47de572d98SGarrett D'Amore	wchar.h	| -ALL SUSv4+
48de572d98SGarrett D'Amore
49de572d98SGarrett D'Amorefunc |	wcsdup							|\
50de572d98SGarrett D'Amore	wchar_t *						|\
51de572d98SGarrett D'Amore	const wchar_t *						|\
52de572d98SGarrett D'Amore	wchar.h | -ALL SUSv4+
53de572d98SGarrett D'Amore
54de572d98SGarrett D'Amorefunc |	wcscasecmp						|\
55de572d98SGarrett D'Amore	int							|\
56de572d98SGarrett D'Amore	const wchar_t *; const wchar_t *			|\
57de572d98SGarrett D'Amore	wchar.h	| -ALL SUSv4+
58de572d98SGarrett D'Amore
59de572d98SGarrett D'Amorefunc |	wcscasecmp_l						|\
60de572d98SGarrett D'Amore	int							|\
61de572d98SGarrett D'Amore	const wchar_t *; const wchar_t *; locale_t		|\
62de572d98SGarrett D'Amore	wchar.h | -ALL SUSv4+
63de572d98SGarrett D'Amore
64de572d98SGarrett D'Amore# technically this is new in C90-Amd1, but we don't have a test for it.
65de572d98SGarrett D'Amorefunc |	wcslen							|\
66de572d98SGarrett D'Amore	size_t							|\
67de572d98SGarrett D'Amore	const wchar_t *						|\
68de572d98SGarrett D'Amore	wchar.h | ALL
69de572d98SGarrett D'Amore
70de572d98SGarrett D'Amorefunc |	wcsncasecmp						|\
71de572d98SGarrett D'Amore	int							|\
72de572d98SGarrett D'Amore	const wchar_t *; const wchar_t *; size_t		|\
73de572d98SGarrett D'Amore	wchar.h	| -ALL SUSv4+
74de572d98SGarrett D'Amore
75de572d98SGarrett D'Amorefunc |	wcsncasecmp_l						|\
76de572d98SGarrett D'Amore	int							|\
77de572d98SGarrett D'Amore	const wchar_t *; const wchar_t *; size_t; locale_t	|\
78de572d98SGarrett D'Amore	wchar.h	| -ALL SUSv4+
79de572d98SGarrett D'Amore
80de572d98SGarrett D'Amorefunc |	wcsnlen							|\
81de572d98SGarrett D'Amore	size_t							|\
82de572d98SGarrett D'Amore	const wchar_t *; size_t					|\
83de572d98SGarrett D'Amore	wchar.h	| -ALL SUSv4+
84de572d98SGarrett D'Amore
85de572d98SGarrett D'Amorefunc |	wcswcs							|\
86de572d98SGarrett D'Amore	wchar_t *						|\
87de572d98SGarrett D'Amore	const wchar_t *; const wchar_t *			|\
88de572d98SGarrett D'Amore	wchar.h	| -ALL XPG4+
89