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 #ifndef _C_IO_STDIO_H
00033 #define _C_IO_STDIO_H 1
00034
00035 #include <cstdio>
00036 #include <cstddef>
00037 #include <bits/gthr.h>
00038
00039 namespace std
00040 {
00041 typedef __gthread_mutex_t __c_lock;
00042
00043
00044 typedef FILE __c_file;
00045
00046
00047
00048 struct __ios_flags
00049 {
00050 typedef short __int_type;
00051
00052 static const __int_type _S_boolalpha = 0x0001;
00053 static const __int_type _S_dec = 0x0002;
00054 static const __int_type _S_fixed = 0x0004;
00055 static const __int_type _S_hex = 0x0008;
00056 static const __int_type _S_internal = 0x0010;
00057 static const __int_type _S_left = 0x0020;
00058 static const __int_type _S_oct = 0x0040;
00059 static const __int_type _S_right = 0x0080;
00060 static const __int_type _S_scientific = 0x0100;
00061 static const __int_type _S_showbase = 0x0200;
00062 static const __int_type _S_showpoint = 0x0400;
00063 static const __int_type _S_showpos = 0x0800;
00064 static const __int_type _S_skipws = 0x1000;
00065 static const __int_type _S_unitbuf = 0x2000;
00066 static const __int_type _S_uppercase = 0x4000;
00067 static const __int_type _S_adjustfield = 0x0020 | 0x0080 | 0x0010;
00068 static const __int_type _S_basefield = 0x0002 | 0x0040 | 0x0008;
00069 static const __int_type _S_floatfield = 0x0100 | 0x0004;
00070
00071
00072 static const __int_type _S_badbit = 0x01;
00073 static const __int_type _S_eofbit = 0x02;
00074 static const __int_type _S_failbit = 0x04;
00075
00076
00077 static const __int_type _S_app = 0x01;
00078 static const __int_type _S_ate = 0x02;
00079 static const __int_type _S_bin = 0x04;
00080 static const __int_type _S_in = 0x08;
00081 static const __int_type _S_out = 0x10;
00082 static const __int_type _S_trunc = 0x20;
00083 };
00084 }
00085
00086 #endif