Example #1
0
bool VFSFileReal::flush(void)
{
    VFS_GUARD_OPT(this);
    if(!_fh)
        return false;
    return real_fflush((FILE*)_fh) == 0;
}
Example #2
0
bool DiskFile::flush()
{
    return _fh && real_fflush((FILE*)_fh) == 0;
}