Changeset 768d091 for libcfa/src/fstream.cfa
- Timestamp:
- Apr 14, 2025, 9:05:58 PM (5 months ago)
- Branches:
- master
- Children:
- 0d41e600
- Parents:
- 10ef475
- git-author:
- Peter A. Buhr <pabuhr@…> (04/14/25 20:59:04)
- git-committer:
- Peter A. Buhr <pabuhr@…> (04/14/25 21:05:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.cfa
r10ef475 r768d091 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Oct 1 20:59:45 202413 // Update Count : 58 212 // Last Modified On : Mon Apr 14 20:41:51 2025 13 // Update Count : 583 14 14 // 15 15 … … 109 109 110 110 bool fail( ofstream & os ) { return os.file$ == 0 || ferror( (FILE *)(os.file$) ); } 111 void clear ( ofstream & os ) { clearerr( (FILE *)(os.file$) ); }111 void clearerr( ofstream & os ) { clearerr( (FILE *)(os.file$) ); } 112 112 int flush( ofstream & os ) { return fflush( (FILE *)(os.file$) ); } 113 113 … … 225 225 226 226 bool fail( ifstream & is ) { return is.file$ == 0p || ferror( (FILE *)(is.file$) ); } 227 void clear ( ifstream & is ) { clearerr( (FILE *)(is.file$) ); }227 void clearerr( ifstream & is ) { clearerr( (FILE *)(is.file$) ); } 228 228 229 229 void nlOn( ifstream & os ) { os.nlOnOff$ = true; }
Note:
See TracChangeset
for help on using the changeset viewer.