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

@ -53,6 +53,8 @@ struct Vfs::Null_file_system : Single_file_system
return READ_OK;
}
bool read_ready(Vfs_handle *) override { return false; }
Ftruncate_result ftruncate(Vfs_handle *vfs_handle, file_size) override
{
return FTRUNCATE_OK;