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