1 // -*- C++ -*- forwarding header. 2 3 // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc. 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 8 // Free Software Foundation; either version 2, or (at your option) 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 16 // You should have received a copy of the GNU General Public License along 17 // with this library; see the file COPYING. If not, write to the Free 18 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19 // USA. 20 21 // As a special exception, you may use this file as part of a free software 22 // library without restriction. Specifically, if other files instantiate 23 // templates or use macros or inline functions from this file, or you compile 24 // this file and link it with other files to produce an executable, this 25 // file does not by itself cause the resulting executable to be covered by 26 // the GNU General Public License. This exception does not however 27 // invalidate any other reasons why the executable file might be covered by 28 // the GNU General Public License. 29 30 // 31 // ISO C++ 14882: 27.8.2 C Library files 32 // 33 34 #ifndef _GLIBCXX_CSTDIO 35 #define _GLIBCXX_CSTDIO 1 36 37 #pragma GCC system_header 38 39 #include_next <stdio.h> 40 41 // Get rid of those macros defined in <stdio.h> in lieu of real functions. 42 #undef clearerr 43 #undef fclose 44 #undef feof 45 #undef ferror 46 #undef fflush 47 #undef fgetc 48 #undef fgetpos 49 #undef fgets 50 #undef fopen 51 #undef fprintf 52 #undef fputc 53 #undef fputs 54 #undef fread 55 #undef freopen 56 #undef fscanf 57 #undef fseek 58 #undef fsetpos 59 #undef ftell 60 #undef fwrite 61 #undef getc 62 #undef getchar 63 #undef gets 64 #undef perror 65 #undef printf 66 #undef putc 67 #undef putchar 68 #undef puts 69 #undef remove 70 #undef rename 71 #undef rewind 72 #undef scanf 73 #undef setbuf 74 #undef setvbuf 75 #undef sprintf 76 #undef sscanf 77 #undef tmpfile 78 #undef tmpnam 79 #undef ungetc 80 #undef vfprintf 81 #undef vprintf 82 #undef vsprintf 83 84 #endif 85