]>
Commit | Line | Data |
---|---|---|
5cb4c1ea | 1 | // -*- C++ -*- forwarding header. |
2 | ||
fbd26352 | 3 | // Copyright (C) 2000-2019 Free Software Foundation, Inc. |
5cb4c1ea | 4 | // |
5 | // This file is part of the GNU ISO C++ Library. This library is free | |
6 | // software; you can redistribute it and/or modify it under the | |
7 | // terms of the GNU General Public License as published by the | |
6bc9506f | 8 | // Free Software Foundation; either version 3, or (at your option) |
5cb4c1ea | 9 | // any later version. |
10 | ||
11 | // This library is distributed in the hope that it will be useful, | |
12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | // GNU General Public License for more details. | |
15 | ||
6bc9506f | 16 | // Under Section 7 of GPL version 3, you are granted additional |
17 | // permissions described in the GCC Runtime Library Exception, version | |
18 | // 3.1, as published by the Free Software Foundation. | |
5cb4c1ea | 19 | |
6bc9506f | 20 | // You should have received a copy of the GNU General Public License and |
21 | // a copy of the GCC Runtime Library Exception along with this program; | |
22 | // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
23 | // <http://www.gnu.org/licenses/>. | |
5cb4c1ea | 24 | |
25 | // | |
26 | // ISO C++ 14882: 27.8.2 C Library files | |
27 | // | |
28 | ||
9449c28d | 29 | #ifndef _GLIBCXX_CSTDIO |
30 | #define _GLIBCXX_CSTDIO 1 | |
5cb4c1ea | 31 | |
36badd1d | 32 | #pragma GCC system_header |
d50d98ed | 33 | |
34 | #include_next <stdio.h> | |
36badd1d | 35 | |
75fbf2f7 | 36 | // Get rid of those macros defined in <stdio.h> in lieu of real functions. |
37 | #undef clearerr | |
38 | #undef fclose | |
39 | #undef feof | |
40 | #undef ferror | |
41 | #undef fflush | |
42 | #undef fgetc | |
43 | #undef fgetpos | |
44 | #undef fgets | |
45 | #undef fopen | |
46 | #undef fprintf | |
47 | #undef fputc | |
48 | #undef fputs | |
49 | #undef fread | |
50 | #undef freopen | |
51 | #undef fscanf | |
52 | #undef fseek | |
53 | #undef fsetpos | |
54 | #undef ftell | |
55 | #undef fwrite | |
56 | #undef getc | |
57 | #undef getchar | |
58 | #undef gets | |
59 | #undef perror | |
60 | #undef printf | |
61 | #undef putc | |
62 | #undef putchar | |
63 | #undef puts | |
64 | #undef remove | |
65 | #undef rename | |
66 | #undef rewind | |
67 | #undef scanf | |
68 | #undef setbuf | |
69 | #undef setvbuf | |
70 | #undef sprintf | |
71 | #undef sscanf | |
72 | #undef tmpfile | |
73 | #undef tmpnam | |
74 | #undef ungetc | |
75 | #undef vfprintf | |
76 | #undef vprintf | |
77 | #undef vsprintf | |
78 | ||
5cb4c1ea | 79 | #endif |