xref: /titanic_50/usr/src/test/libc-tests/cfg/symbols/stdlib_h.cfg (revision 372a60c34a6075464eaab2e7e079cbbc781f9215)
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#
16
17#
18# Definitions found in stdlib.h
19#
20
21#
22# Types.
23#
24type |	size_t		| stdlib.h | ALL
25
26#
27# Values.
28#
29value |	EXIT_FAILURE	| int		| stdlib.h | ALL
30value |	EXIT_SUCCESS	| int		| stdlib.h | ALL
31value |	NULL		| void *	| stdlib.h | ALL
32
33#
34# Functions
35#
36func |	calloc								|\
37	void * 								|\
38	size_t; size_t							|\
39	stdlib.h							|\
40	ALL
41
42func |	exit								|\
43	void 								|\
44	int								|\
45	stdlib.h							|\
46	ALL
47
48func |	free								|\
49	void 								|\
50	void *								|\
51	stdlib.h							|\
52	ALL
53
54func |	malloc								|\
55	void * 								|\
56	size_t								|\
57	stdlib.h							|\
58	ALL
59
60func |	mkstemp								|\
61	int 								|\
62	char *								|\
63	stdlib.h							|\
64	C90 C99 SUSv1+
65
66func |	mkostemp							|\
67	int 								|\
68	char *; int							|\
69	stdlib.h							|\
70	-ALL
71
72func |	mkstemps							|\
73	int 								|\
74	char *; int							|\
75	stdlib.h							|\
76	C90 C99
77
78func |	mkostemps							|\
79	int 								|\
80	char *; int; int						|\
81	stdlib.h							|\
82	-ALL
83
84func |	mkdtemp								|\
85	char * 								|\
86	char *								|\
87	stdlib.h							|\
88	-ALL SUSv4+
89