00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 #ifndef _GLIBCXX_CSTDIO
00045 #define _GLIBCXX_CSTDIO 1
00046
00047 #pragma GCC system_header
00048
00049 #include <bits/c++config.h>
00050 #include <cstddef>
00051
00052 #include <stdio.h>
00053
00054
00055 #undef clearerr
00056 #undef fclose
00057 #undef feof
00058 #undef ferror
00059 #undef fflush
00060 #undef fgetc
00061 #undef fgetpos
00062 #undef fgets
00063 #undef fopen
00064 #undef fprintf
00065 #undef fputc
00066 #undef fputs
00067 #undef fread
00068 #undef freopen
00069 #undef fscanf
00070 #undef fseek
00071 #undef fsetpos
00072 #undef ftell
00073 #undef fwrite
00074 #undef getc
00075 #undef getchar
00076 #undef gets
00077 #undef perror
00078 #undef printf
00079 #undef putc
00080 #undef putchar
00081 #undef puts
00082 #undef remove
00083 #undef rename
00084 #undef rewind
00085 #undef scanf
00086 #undef setbuf
00087 #undef setvbuf
00088 #undef sprintf
00089 #undef sscanf
00090 #undef tmpfile
00091 #undef tmpnam
00092 #undef ungetc
00093 #undef vfprintf
00094 #undef vprintf
00095 #undef vsprintf
00096
00097 namespace std
00098 {
00099 using ::FILE;
00100 using ::fpos_t;
00101
00102 using ::clearerr;
00103 using ::fclose;
00104 using ::feof;
00105 using ::ferror;
00106 using ::fflush;
00107 using ::fgetc;
00108 using ::fgetpos;
00109 using ::fgets;
00110 using ::fopen;
00111 using ::fprintf;
00112 using ::fputc;
00113 using ::fputs;
00114 using ::fread;
00115 using ::freopen;
00116 using ::fscanf;
00117 using ::fseek;
00118 using ::fsetpos;
00119 using ::ftell;
00120 using ::fwrite;
00121 using ::getc;
00122 using ::getchar;
00123 using ::gets;
00124 using ::perror;
00125 using ::printf;
00126 using ::putc;
00127 using ::putchar;
00128 using ::puts;
00129 using ::remove;
00130 using ::rename;
00131 using ::rewind;
00132 using ::scanf;
00133 using ::setbuf;
00134 using ::setvbuf;
00135 using ::sprintf;
00136 using ::sscanf;
00137 using ::tmpfile;
00138 using ::tmpnam;
00139 using ::ungetc;
00140 using ::vfprintf;
00141 using ::vprintf;
00142 using ::vsprintf;
00143 }
00144
00145 #if _GLIBCXX_USE_C99
00146
00147 #undef snprintf
00148 #undef vfscanf
00149 #undef vscanf
00150 #undef vsnprintf
00151 #undef vsscanf
00152
00153 namespace __gnu_cxx
00154 {
00155 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
00156 extern "C" int
00157 (snprintf)(char * restrict, size_t, const char * restrict, ...);
00158 extern "C" int
00159 (vfscanf)(FILE * restrict, const char * restrict, __gnuc_va_list);
00160 extern "C" int (vscanf)(const char * restrict, __gnuc_va_list);
00161 extern "C" int
00162 (vsnprintf)(char * restrict, size_t, const char * restrict, __gnuc_va_list);
00163 extern "C" int
00164 (vsscanf)(const char * restrict, const char * restrict, __gnuc_va_list);
00165 #endif
00166 #if !_GLIBCXX_USE_C99_DYNAMIC
00167 using ::snprintf;
00168 using ::vfscanf;
00169 using ::vscanf;
00170 using ::vsnprintf;
00171 using ::vsscanf;
00172 #endif
00173 }
00174
00175 namespace std
00176 {
00177 using __gnu_cxx::snprintf;
00178 using __gnu_cxx::vfscanf;
00179 using __gnu_cxx::vscanf;
00180 using __gnu_cxx::vsnprintf;
00181 using __gnu_cxx::vsscanf;
00182 }
00183 #endif
00184
00185 #endif