summaryrefslogtreecommitdiff
path: root/usr/src/test/libc-tests/cfg/symbols/stdlib_h.cfg
blob: 37d6ab93760914e27484dd50f36355a9ed0672e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2015 Garrett D'Amore <garrett@damore.org>
# Copyright 2015, OmniTI Computer Consulting, Inc. All Rights Reserved.
# Copyright 2016 Joyent, Inc.
#

#
# Definitions found in stdlib.h
#

#
# Types.
#
type |	size_t		| stdlib.h | ALL

#
# Values.
#
value |	EXIT_FAILURE	| int		| stdlib.h | ALL
value |	EXIT_SUCCESS	| int		| stdlib.h | ALL
value |	NULL		| void *	| stdlib.h | ALL

#
# Functions
#
func |	aligned_alloc							|\
	void *								|\
	size_t; size_t							|\
	stdlib.h							|\
	-ALL C11

func |	at_quick_exit							|\
	int								|\
	void (*)(void)							|\
	stdlib.h							|\
	-ALL C11

func |	calloc								|\
	void *								|\
	size_t; size_t							|\
	stdlib.h							|\
	ALL

func |	exit								|\
	void								|\
	int								|\
	stdlib.h							|\
	ALL

func |	free								|\
	void								|\
	void *								|\
	stdlib.h							|\
	ALL

func |	malloc								|\
	void *								|\
	size_t								|\
	stdlib.h							|\
	ALL

func |	mkstemp								|\
	int								|\
	char *								|\
	stdlib.h							|\
	C90 C99 SUSv1+

func |	mkostemp							|\
	int								|\
	char *; int							|\
	stdlib.h							|\
	-ALL

func |	mkstemps							|\
	int								|\
	char *; int							|\
	stdlib.h							|\
	C90 C99

func |	mkostemps							|\
	int								|\
	char *; int; int						|\
	stdlib.h							|\
	-ALL

func |	mkdtemp								|\
	char *								|\
	char *								|\
	stdlib.h							|\
	-ALL SUSv4+

func |	quick_exit							|\
	void								|\
	int								|\
	stdlib.h							|\
	-ALL C11

func |	qsort								|\
	void								|\
	void *; size_t; size_t; int (*)(const void *, const void *)	|\
	stdlib.h							|\
	ALL

func |	qsort_r										|\
	void										|\
	void *; size_t; size_t; int (*)(const void *, const void *, void *), void *	|\
	stdlib.h									|\
	-ALL