mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 14:37:50 +00:00
parent
a1fb51e050
commit
1aba073e32
@ -23,9 +23,6 @@ namespace Vfs { struct File_io_service; }
|
||||
|
||||
struct Vfs::File_io_service : Interface
|
||||
{
|
||||
enum General_error { ERR_FD_INVALID, NUM_GENERAL_ERRORS };
|
||||
|
||||
|
||||
/***********
|
||||
** Write **
|
||||
***********/
|
||||
@ -89,9 +86,8 @@ struct Vfs::File_io_service : Interface
|
||||
** Ftruncate **
|
||||
***************/
|
||||
|
||||
enum Ftruncate_result { FTRUNCATE_ERR_NO_PERM = NUM_GENERAL_ERRORS,
|
||||
FTRUNCATE_ERR_INTERRUPT, FTRUNCATE_ERR_NO_SPACE,
|
||||
FTRUNCATE_OK };
|
||||
enum Ftruncate_result { FTRUNCATE_ERR_NO_PERM, FTRUNCATE_ERR_INTERRUPT,
|
||||
FTRUNCATE_ERR_NO_SPACE, FTRUNCATE_OK };
|
||||
|
||||
virtual Ftruncate_result ftruncate(Vfs_handle *vfs_handle, file_size len) = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user