Ignore:
Timestamp:
07/24/15 12:52:05 (10 years ago)
Author:
epyon
Message:
  • more std removal - only <random> left
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/io/c_stream.cc

    r406 r442  
    4747}
    4848
     49bool 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
    4957bool c_stream::seek( long offset, origin orig )
    5058{
Note: See TracChangeset for help on using the changeset viewer.