comparison packages/io/fileio/current/src/io.cxx @ 134:d2f49caf9e38 ecos-sw-2000-11-03

Merge from eCos master repository on 2000-11-03-09:00:49-GMT
author jlarmour
date Fri, 03 Nov 2000 21:17:40 +0000
parents eb9fd8c04db3
children dd81b18e45fb
comparison
equal deleted inserted replaced
133:98d71f4d8243 134:d2f49caf9e38
124 124
125 cyg_fp_free( fp ); 125 cyg_fp_free( fp );
126 126
127 CYG_CANCELLATION_POINT; 127 CYG_CANCELLATION_POINT;
128 128
129 CYG_REPORT_RETVAL(cnt); 129 FILEIO_RETURN_VALUE(cnt);
130 return cnt;
131 } 130 }
132 131
133 //========================================================================== 132 //==========================================================================
134 // Read from file 133 // Read from file
135 134
198 cyg_fp_free( fp ); 197 cyg_fp_free( fp );
199 198
200 if( ret != 0 ) 199 if( ret != 0 )
201 FILEIO_RETURN(ret); 200 FILEIO_RETURN(ret);
202 201
203 CYG_REPORT_RETVAL(pos); 202 FILEIO_RETURN_VALUE(pos);
204 return pos;
205 } 203 }
206 204
207 //========================================================================== 205 //==========================================================================
208 // ioctl 206 // ioctl
209 207
345 cyg_fp_free( fp ); 343 cyg_fp_free( fp );
346 344
347 if( ret != 0 ) 345 if( ret != 0 )
348 FILEIO_RETURN(ret); 346 FILEIO_RETURN(ret);
349 347
350 CYG_REPORT_RETVAL(info.value); 348 FILEIO_RETURN_VALUE(info.value);
351 return info.value;
352 } 349 }
353 350
354 //========================================================================== 351 //==========================================================================
355 // fcntl 352 // fcntl
356 353