xref: /illumos-gate/usr/src/test/libc-tests/cfg/symbols/stdio_h.cfg (revision 7b34a9a5df26271af0da06974fc361c468cd48d3)
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 2016 Joyent, Inc.
15#
16
17#
18# Definitions found in stdio.h
19#
20
21#
22# Types.
23#
24type |	FILE	| stdio.h | ALL
25type |	fpos_t	| stdio.h | ALL
26type |	size_t	| stdio.h | ALL
27
28#
29# Values.
30#
31value |	BUFSIZ	| int		| stdio.h | ALL
32value |	EOF	| int		| stdio.h | ALL
33value |	NULL	| void *	| stdio.h | ALL
34value | stderr	| FILE *	| stdio.h | ALL
35value |	stdin	| FILE *	| stdio.h | ALL
36value | stdout	| FILE *	| stdio.h | ALL
37value | optarg	| char *	| stdio.h | -ALL +XPG3+ -SUSv3+
38value | optind	| int		| stdio.h | -ALL +XPG3+ -SUSv3+
39value | opterr	| int		| stdio.h | -ALL +XPG3+ -SUSv3+
40value | optopt	| int		| stdio.h | -ALL +XPG3+ -SUSv3+
41
42#
43# Functions
44#
45func |	fmemopen							|\
46	FILE *								|\
47	void *; size_t; const char *					|\
48	stdio.h | -ALL SUSv4+
49
50
51func |	gets								|\
52	char *								|\
53	char *								|\
54	stdio.h | ALL -C11
55
56func |	open_memstream							|\
57	FILE *								|\
58	char **; size_t *						|\
59	stdio.h | -ALL SUSv4+
60
61func |	printf								|\
62	int								|\
63	const char *							|\
64	stdio.h | ALL
65
66func |	rename								|\
67	int								|\
68	const char *; const char *					|\
69	stdio.h | ALL
70