xref: /illumos-gate/usr/src/test/libc-tests/cfg/symbols/stdlib_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# Copyright 2015, OmniTI Computer Consulting, Inc. All Rights Reserved.
15# Copyright 2016 Joyent, Inc.
16#
17
18#
19# Definitions found in stdlib.h
20#
21
22#
23# Types.
24#
25type |	size_t		| stdlib.h | ALL
26
27#
28# Values.
29#
30value |	EXIT_FAILURE	| int		| stdlib.h | ALL
31value |	EXIT_SUCCESS	| int		| stdlib.h | ALL
32value |	NULL		| void *	| stdlib.h | ALL
33
34#
35# Functions
36#
37func |	aligned_alloc							|\
38	void * 								|\
39	size_t; size_t							|\
40	stdlib.h							|\
41	-ALL C11
42
43func |	at_quick_exit							|\
44	int								|\
45	void (*)(void)							|\
46	stdlib.h							|\
47	-ALL C11
48
49func |	calloc								|\
50	void * 								|\
51	size_t; size_t							|\
52	stdlib.h							|\
53	ALL
54
55func |	exit								|\
56	void 								|\
57	int								|\
58	stdlib.h							|\
59	ALL
60
61func |	free								|\
62	void 								|\
63	void *								|\
64	stdlib.h							|\
65	ALL
66
67func |	malloc								|\
68	void * 								|\
69	size_t								|\
70	stdlib.h							|\
71	ALL
72
73func |	mkstemp								|\
74	int 								|\
75	char *								|\
76	stdlib.h							|\
77	C90 C99 SUSv1+
78
79func |	mkostemp							|\
80	int 								|\
81	char *; int							|\
82	stdlib.h							|\
83	-ALL
84
85func |	mkstemps							|\
86	int 								|\
87	char *; int							|\
88	stdlib.h							|\
89	C90 C99
90
91func |	mkostemps							|\
92	int 								|\
93	char *; int; int						|\
94	stdlib.h							|\
95	-ALL
96
97func |	mkdtemp								|\
98	char * 								|\
99	char *								|\
100	stdlib.h							|\
101	-ALL SUSv4+
102
103func |	quick_exit							|\
104	void								|\
105	int								|\
106	stdlib.h							|\
107	-ALL C11
108