Go to the documentation of this file.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 #pragma GCC system_header
00042
00043 #include <bits/c++config.h>
00044 #include <stdio.h>
00045
00046 #ifndef _GLIBCXX_CSTDIO
00047 #define _GLIBCXX_CSTDIO 1
00048
00049
00050 #undef clearerr
00051 #undef fclose
00052 #undef feof
00053 #undef ferror
00054 #undef fflush
00055 #undef fgetc
00056 #undef fgetpos
00057 #undef fgets
00058 #undef fopen
00059 #undef fprintf
00060 #undef fputc
00061 #undef fputs
00062 #undef fread
00063 #undef freopen
00064 #undef fscanf
00065 #undef fseek
00066 #undef fsetpos
00067 #undef ftell
00068 #undef fwrite
00069 #undef getc
00070 #undef getchar
00071 #undef gets
00072 #undef perror
00073 #undef printf
00074 #undef putc
00075 #undef putchar
00076 #undef puts
00077 #undef remove
00078 #undef rename
00079 #undef rewind
00080 #undef scanf
00081 #undef setbuf
00082 #undef setvbuf
00083 #undef sprintf
00084 #undef sscanf
00085 #undef tmpfile
00086 #undef tmpnam
00087 #undef ungetc
00088 #undef vfprintf
00089 #undef vprintf
00090 #undef vsprintf
00091
00092 _GLIBCXX_BEGIN_NAMESPACE(std)
00093
00094 using ::FILE;
00095 using ::fpos_t;
00096
00097 using ::clearerr;
00098 using ::fclose;
00099 using ::feof;
00100 using ::ferror;
00101 using ::fflush;
00102 using ::fgetc;
00103 using ::fgetpos;
00104 using ::fgets;
00105 using ::fopen;
00106 using ::fprintf;
00107 using ::fputc;
00108 using ::fputs;
00109 using ::fread;
00110 using ::freopen;
00111 using ::fscanf;
00112 using ::fseek;
00113 using ::fsetpos;
00114 using ::ftell;
00115 using ::fwrite;
00116 using ::getc;
00117 using ::getchar;
00118 using ::gets;
00119 using ::perror;
00120 using ::printf;
00121 using ::putc;
00122 using ::putchar;
00123 using ::puts;
00124 using ::remove;
00125 using ::rename;
00126 using ::rewind;
00127 using ::scanf;
00128 using ::setbuf;
00129 using ::setvbuf;
00130 using ::sprintf;
00131 using ::sscanf;
00132 using ::tmpfile;
00133 using ::tmpnam;
00134 using ::ungetc;
00135 using ::vfprintf;
00136 using ::vprintf;
00137 using ::vsprintf;
00138
00139 _GLIBCXX_END_NAMESPACE
00140
00141 #if _GLIBCXX_USE_C99
00142
00143 #undef snprintf
00144 #undef vfscanf
00145 #undef vscanf
00146 #undef vsnprintf
00147 #undef vsscanf
00148
00149 _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
00150
00151 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
00152 extern "C" int
00153 (snprintf)(char * __restrict, std::size_t, const char * __restrict, ...)
00154 throw ();
00155 extern "C" int
00156 (vfscanf)(FILE * __restrict, const char * __restrict, __gnuc_va_list);
00157 extern "C" int (vscanf)(const char * __restrict, __gnuc_va_list);
00158 extern "C" int
00159 (vsnprintf)(char * __restrict, std::size_t, const char * __restrict,
00160 __gnuc_va_list) throw ();
00161 extern "C" int
00162 (vsscanf)(const char * __restrict, const char * __restrict, __gnuc_va_list)
00163 throw ();
00164 #endif
00165
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 _GLIBCXX_END_NAMESPACE
00175
00176 _GLIBCXX_BEGIN_NAMESPACE(std)
00177
00178 using ::__gnu_cxx::snprintf;
00179 using ::__gnu_cxx::vfscanf;
00180 using ::__gnu_cxx::vscanf;
00181 using ::__gnu_cxx::vsnprintf;
00182 using ::__gnu_cxx::vsscanf;
00183
00184 _GLIBCXX_END_NAMESPACE
00185
00186 #endif // _GLIBCXX_USE_C99
00187
00188 #ifdef __GXX_EXPERIMENTAL_CXX0X__
00189 # if defined(_GLIBCXX_INCLUDE_AS_TR1)
00190 # error C++0x header cannot be included from TR1 header
00191 # endif
00192 # if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
00193 # include <tr1_impl/cstdio>
00194 # else
00195 # define _GLIBCXX_INCLUDE_AS_CXX0X
00196 # define _GLIBCXX_BEGIN_NAMESPACE_TR1
00197 # define _GLIBCXX_END_NAMESPACE_TR1
00198 # define _GLIBCXX_TR1
00199 # include <tr1_impl/cstdio>
00200 # undef _GLIBCXX_TR1
00201 # undef _GLIBCXX_END_NAMESPACE_TR1
00202 # undef _GLIBCXX_BEGIN_NAMESPACE_TR1
00203 # undef _GLIBCXX_INCLUDE_AS_CXX0X
00204 # endif
00205 #endif
00206
00207 #endif