Changeset 442 for trunk/src/io
- Timestamp:
- 07/24/15 12:52:05 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/io/c_stream.cc
r406 r442 47 47 } 48 48 49 bool c_stream::gets( char* buffer, size_t max_count ) 50 { 51 NV_ASSERT( buffer != nullptr && max_count != 0, "Bad parameter passed to write!" ); 52 char* result = ::fgets( buffer, max_count, reinterpret_cast<FILE*>( m_file ) ); 53 if ( !result ) return false; 54 return true; 55 } 56 49 57 bool c_stream::seek( long offset, origin orig ) 50 58 {
Note: See TracChangeset
for help on using the changeset viewer.