Support select in libc VFS plugin by read_ready()

This commit is contained in:
Christian Helmuth
2017-02-01 11:28:15 +01:00
committed by Norman Feske
parent ba1bd071df
commit f9389109bf
22 changed files with 174 additions and 30 deletions

View File

@ -629,6 +629,8 @@ class Vfs::Fs_file_system : public File_system
return READ_OK;
}
bool read_ready(Vfs_handle *) override { return true; }
Ftruncate_result ftruncate(Vfs_handle *vfs_handle, file_size len) override
{
Fs_vfs_handle const *handle = static_cast<Fs_vfs_handle *>(vfs_handle);