Logo Search packages:      
Sourcecode: scummvm version File versions

bool File::ioFailed (  )  const [virtual]

DEPRECATED: Use err() or eos() instead. Returns true if any I/O failure occurred or the end of the stream was reached while reading.

Reimplemented from Common::Stream.

Definition at line 126 of file file.cpp.

References _handle, and Common::ReadStream::ioFailed().

                          {
      // TODO/FIXME: Just use ferror() here?
      return !_handle || _handle->ioFailed();
}


Generated by  Doxygen 1.6.0   Back to index