xref: /illumos-gate/usr/src/test/libc-tests/cfg/symbols/locale_h.cfg (revision 49b7860084dbba18bc00b29413d6182197f9fe93)
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 locale.h
18#
19
20#
21# Types.
22#
23type |	locale_t	| locale.h | -ALL SUSv4+
24type |	struct lconv	| locale.h | ALL
25
26#
27# Values.
28#
29value |	LC_CTYPE		| int		| locale.h | ALL
30value | LC_COLLATE		| int		| locale.h | ALL
31value | LC_TIME			| int		| locale.h | ALL
32value | LC_NUMERIC		| int		| locale.h | ALL
33value |	LC_MONETARY		| int		| locale.h | ALL
34value |	LC_MESSAGES		| int		| locale.h | ALL
35value |	LC_GLOBAL_LOCALE	| locale_t	| locale.h | -ALL SUSv4+
36value |	NULL			| void *	| locale.h | ALL
37
38#
39# Functions
40#
41func |	duplocale							|\
42	locale_t							|\
43	locale_t							|\
44	locale.h | -ALL SUSv4+
45
46func |	newlocale							|\
47	locale_t							|\
48	int; const char *; locale_t					|\
49	locale.h | -ALL SUSv4+
50
51func |	freelocale							|\
52	void								|\
53	locale_t							|\
54	locale.h | -ALL SUSv4+
55
56func |	localeconv							|\
57	struct lconv *							|\
58	void								|\
59	locale.h | ALL
60
61func |	setlocale							|\
62	char *								|\
63	int; const char *						|\
64	locale.h | ALL
65