xref: /illumos-gate/usr/src/test/libc-tests/cfg/symbols/stdlib_h.cfg (revision 6bc074b1c1f7d3014541f4c3e3152dcf2b19eed6)
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# Copyright 2023 Oxide Computer Company
17#
18
19#
20# Definitions found in stdlib.h
21#
22
23#
24# Types.
25#
26type |	size_t		| stdlib.h | ALL
27
28#
29# Values.
30#
31value |	EXIT_FAILURE	| int		| stdlib.h | ALL
32value |	EXIT_SUCCESS	| int		| stdlib.h | ALL
33value |	NULL		| void *	| stdlib.h | ALL
34
35#
36# Functions
37#
38func |	aligned_alloc							|\
39	void *								|\
40	size_t; size_t							|\
41	stdlib.h							|\
42	-ALL C11
43
44func |	at_quick_exit							|\
45	int								|\
46	void (*)(void)							|\
47	stdlib.h							|\
48	-ALL C11
49
50func |	calloc								|\
51	void *								|\
52	size_t; size_t							|\
53	stdlib.h							|\
54	ALL
55
56func |	exit								|\
57	void								|\
58	int								|\
59	stdlib.h							|\
60	ALL
61
62func |	free								|\
63	void								|\
64	void *								|\
65	stdlib.h							|\
66	ALL
67
68func |	malloc								|\
69	void *								|\
70	size_t								|\
71	stdlib.h							|\
72	ALL
73
74func |	mkstemp								|\
75	int								|\
76	char *								|\
77	stdlib.h							|\
78	C90 C99 SUSv1+
79
80func |	mkostemp							|\
81	int								|\
82	char *; int							|\
83	stdlib.h							|\
84	-ALL
85
86func |	mkstemps							|\
87	int								|\
88	char *; int							|\
89	stdlib.h							|\
90	C90 C99
91
92func |	mkostemps							|\
93	int								|\
94	char *; int; int						|\
95	stdlib.h							|\
96	-ALL
97
98func |	mkdtemp								|\
99	char *								|\
100	char *								|\
101	stdlib.h							|\
102	-ALL SUSv4+
103
104func |	quick_exit							|\
105	void								|\
106	int								|\
107	stdlib.h							|\
108	-ALL C11
109
110func |	qsort								|\
111	void								|\
112	void *; size_t; size_t; int (*)(const void *, const void *)	|\
113	stdlib.h							|\
114	ALL
115
116func |	qsort_r										|\
117	void										|\
118	void *; size_t; size_t; int (*)(const void *, const void *, void *), void *	|\
119	stdlib.h									|\
120	-ALL
121
122func |	strtonum							|\
123	long long							|\
124	const char *; long long; long long; long long; const char **	|\
125	stdlib.h							|\
126	-ALL
127
128func |	strtonumx							|\
129	long long							|\
130	const char *; long long; long long; long long; const char **; int |\
131	stdlib.h							|\
132	-ALL
133