Changeset f451177 for libcfa/src/fstream.hfa
- Timestamp:
- Apr 27, 2021, 10:10:38 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 666483d
- Parents:
- ef3ac46
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.hfa
ref3ac46 rf451177 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Apr 24 09:04:03202113 // Update Count : 2 1912 // Last Modified On : Tue Apr 27 22:00:30 2021 13 // Update Count : 226 14 14 // 15 15 … … 71 71 bool fail( ofstream & ); 72 72 int flush( ofstream & ); 73 void open( ofstream &, const char name[], const char mode[] ); 73 void open( ofstream &, const char name[], const char mode[] ); // FIX ME: use default = "w" 74 74 void open( ofstream &, const char name[] ); 75 75 void close( ofstream & ); … … 86 86 87 87 void ?{}( ofstream & ); 88 void ?{}( ofstream &, const char name[], const char mode[] ); 88 void ?{}( ofstream &, const char name[], const char mode[] ); // FIX ME: use default = "w" 89 89 void ?{}( ofstream &, const char name[] ); 90 90 void ^?{}( ofstream & ); 91 92 // private 93 static inline ofstream & nl$( ofstream & os ) { return nl( os ); } // remember basic_ostream nl 94 // public 95 ofstream & nl( ofstream & os ); // override basic_ostream nl 91 96 92 97 extern ofstream & sout, & stdout, & serr, & stderr; // aliases … … 111 116 bool getANL( ifstream & ); 112 117 void ends( ifstream & ); 118 int fmt( ifstream &, const char format[], ... ) __attribute__(( format(scanf, 2, 3) )); 119 113 120 bool fail( ifstream & is ); 114 121 int eof( ifstream & is ); 115 void open( ifstream & is, const char name[], const char mode[] ); 122 void open( ifstream & is, const char name[], const char mode[] ); // FIX ME: use default = "r" 116 123 void open( ifstream & is, const char name[] ); 117 124 void close( ifstream & is ); 118 125 ifstream & read( ifstream & is, char * data, size_t size ); 119 126 ifstream & ungetc( ifstream & is, char c ); 120 int fmt( ifstream &, const char format[], ... ) __attribute__(( format(scanf, 2, 3) )); 127 121 128 void acquire( ifstream & is ); 122 129 void release( ifstream & is ); … … 129 136 130 137 void ?{}( ifstream & is ); 131 void ?{}( ifstream & is, const char name[], const char mode[] ); 138 void ?{}( ifstream & is, const char name[], const char mode[] ); // FIX ME: use default = "r" 132 139 void ?{}( ifstream & is, const char name[] ); 133 140 void ^?{}( ifstream & is );
Note: See TracChangeset
for help on using the changeset viewer.