]> git.ipfire.org Git - thirdparty/glibc.git/blob - conform/data/stdio.h-data
First steps to get conformtest fully working
[thirdparty/glibc.git] / conform / data / stdio.h-data
1 constant BUFSIZ
2 constant FILENAME_MAX
3 constant FOPEN_MAX >= 8
4
5 constant _IOFBF
6 constant _IOLBF
7 constant _IONBF
8
9 #if !defined ISO && !defined ISO99 && !defined ISO11
10 constant L_ctermid
11 # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
12 constant L_cuserid
13 # endif
14 #endif
15 constant L_tmpnam
16
17 constant SEEK_CUR
18 constant SEEK_END
19 constant SEEK_SET
20
21 constant TMP_MAX >= 10000
22
23 constant EOF
24
25 constant NULL
26
27 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
28 constant P_tmpdir
29 #endif
30
31 macro stdin
32 macro stdout
33 macro stderr
34
35 type FILE
36 type fpos_t
37 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
38 type va_list
39 #else
40 #define va_list _G_va_list
41 #endif
42 type size_t
43 #if defined XOPEN2K8 || defined POSIX2008
44 type off_t
45 type ssize_t
46 #endif
47
48 function void clearerr (FILE*)
49 #if !defined ISO && !defined ISO99 && !defined ISO11
50 function {char*} ctermid (char*)
51 # if defined XPG3 || defined XPG4 || defined UNIX98
52 function {char*} cuserid (char*)
53 # endif
54 #endif
55 #if defined XOPEN2K8 || defined POSIX2008
56 function int dprintf (int, const char*, ...)
57 #endif
58 function int fclose (FILE*)
59 #if defined XOPEN2K8 || defined POSIX2008
60 function {FILE*} fdopen (int, const char*)
61 #endif
62 function int feof (FILE*)
63 function int ferror (FILE*)
64 function int fflush (FILE*)
65 function int fgetc (FILE*)
66 function int fgetpos (FILE*, fpos_t*)
67 function {char*} fgets (char*, int, FILE*)
68 #if !defined ISO && !defined ISO99 && !defined ISO11
69 function int fileno (FILE*)
70 #endif
71 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
72 function void flockfile (FILE*)
73 #endif
74 #if defined XOPEN2K8 || defined POSIX2008
75 function {FILE*} fmemopen (void*, size_t, const char*)
76 #endif
77 function {FILE*} fopen (const char*, const char*)
78 function int fprintf (FILE*, const char*, ...)
79 function int fputc (int, FILE*)
80 function int fputs (const char*, FILE*)
81 function size_t fread (void*, size_t, size_t, FILE*)
82 function {FILE*} freopen (const char*, const char*, FILE*)
83 function int fscanf (FILE*, const char*, ...)
84 function int fseek (FILE*, long int, int)
85 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
86 function int fseeko (FILE*, off_t, int)
87 #endif
88 function int fsetpos (FILE*, const fpos_t*)
89 function {long int} ftell (FILE*)
90 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
91 function off_t ftello (FILE*)
92 #endif
93 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
94 function int ftrylockfile (FILE*)
95 function void funlockfile (FILE*)
96 #endif
97 function size_t fwrite (const void*, size_t, size_t, FILE*)
98 function int getc (FILE*)
99 function int getchar (void)
100 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
101 function int getc_unlocked (FILE*)
102 function int getchar_unlocked ()
103 #endif
104 #if defined XOPEN2K8 || defined POSIX2008
105 function ssize_t getdelim (char**, size_t*, int, FILE*)
106 function ssize_t getline (char**, size_t*, FILE*)
107 #endif
108 #if defined XPG3 || defined XPG4 || defined UNIX98
109 function int getopt (int, char *const[], const char *)
110 #endif
111 #if !defined ISO11
112 function {char*} gets (char*)
113 #endif
114 #if defined XPG3 || defined XPG4 || defined UNIX98
115 function int getw (FILE*)
116 #endif
117 #if defined XOPEN2K8 || defined POSIX2008
118 function {FILE*} open_memstream (char**, size_t*)
119 #endif
120 #if !defined ISO && !defined ISO99 && !defined ISO11
121 function int pclose (FILE*)
122 #endif
123 function void perror (const char*)
124 #if !defined ISO && !defined ISO99 && !defined ISO11
125 function {FILE*} popen (const char*, const char*)
126 #endif
127 function int printf (const char*, ...)
128 function int putc (int, FILE*)
129 function int putchar (int)
130 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
131 function int putc_unlocked (int, FILE*)
132 function int putchar_unlocked (int)
133 #endif
134 function int puts (const char*)
135 #if defined XPG3 || defined XPG4 || defined UNIX98
136 function int putw (int, FILE*)
137 #endif
138 function int remove (const char*)
139 function int rename (const char*, const char*)
140 #if defined XOPEN2K8 || defined POSIX2008
141 function int renameat (int, const char*, int, const char*)
142 #endif
143 function void rewind (FILE*)
144 function int scanf (const char*, ...)
145 function void setbuf (FILE*, char*)
146 function int setvbuf (FILE*, char*, int, size_t)
147 #if !defined ISO && !defined POSIX
148 function int snprintf (char*, size_t, const char*, ...)
149 #endif
150 function int sprintf (char *, const char *, ...)
151 function int sscanf (const char*, const char*, ...)
152 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8
153 function {char*} tempnam (const char*, const char*)
154 #endif
155 function {FILE*} tmpfile (void)
156 function {char*} tmpnam (char*)
157 function int ungetc (int, FILE*)
158 #if defined XOPEN2K8 || defined POSIX2008
159 function int vdprintf (int, const char*, va_list)
160 #endif
161 function int vfprintf (FILE*, const char*, va_list)
162 #if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98
163 function int vfscanf (FILE*, const char*, va_list)
164 #endif
165 function int vprintf (const char*, va_list)
166 #if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98
167 function int vscanf (const char*, va_list)
168 #endif
169 #ifndef ISO
170 function int vsnprintf (char*, size_t, const char*, va_list)
171 #endif
172 function int vsprintf (char*, const char*, va_list)
173 #if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98
174 function int vsscanf (const char*, const char*, va_list)
175 #endif
176
177 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
178 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
179 variable {char*} optarg
180 variable int opterr
181 variable int optind
182 variable int optopt
183 #endif
184
185 allow-header stddef.h
186
187 allow *_t
188 #endif