xref: /titanic_44/usr/src/test/libc-tests/cfg/symbols/stdio_h.cfg (revision d1c5dc47e23888b05d4095e8983ccf62acbc69fa)
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#
45
46func |	gets								|\
47	char *								|\
48	char *								|\
49	stdio.h | ALL -C11
50
51func |	printf								|\
52	int								|\
53	const char * 							|\
54	stdio.h | ALL
55
56func |	rename								|\
57	int 								|\
58	const char *; const char *					|\
59	stdio.h | ALL
60