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 | wcslcat |\ 50 size_t |\ 51 wchar_t *restrict; wchar_t *restrict; size_t |\ 52 wchar.h | -ALL SUSv5+ 53 54func | wcslcpy |\ 55 size_t |\ 56 wchar_t *restrict; wchar_t *restrict; size_t |\ 57 wchar.h | -ALL SUSv5+ 58 59func | wcsdup |\ 60 wchar_t * |\ 61 const wchar_t * |\ 62 wchar.h | -ALL SUSv4+ 63 64func | wcscasecmp |\ 65 int |\ 66 const wchar_t *; const wchar_t * |\ 67 wchar.h | -ALL SUSv4+ 68 69func | wcscasecmp_l |\ 70 int |\ 71 const wchar_t *; const wchar_t *; locale_t |\ 72 wchar.h | -ALL SUSv4+ 73 74# technically this is new in C90-Amd1, but we don't have a test for it. 75func | wcslen |\ 76 size_t |\ 77 const wchar_t * |\ 78 wchar.h | ALL 79 80func | wcsncasecmp |\ 81 int |\ 82 const wchar_t *; const wchar_t *; size_t |\ 83 wchar.h | -ALL SUSv4+ 84 85func | wcsncasecmp_l |\ 86 int |\ 87 const wchar_t *; const wchar_t *; size_t; locale_t |\ 88 wchar.h | -ALL SUSv4+ 89 90func | wcsnlen |\ 91 size_t |\ 92 const wchar_t *; size_t |\ 93 wchar.h | -ALL SUSv4+ 94 95func | wcswcs |\ 96 wchar_t * |\ 97 const wchar_t *; const wchar_t * |\ 98 wchar.h | -ALL XPG4+ 99