mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Christian Helmuth
parent
f6863e3f4b
commit
06fe755f8c
@@ -58,6 +58,8 @@ class Vfs::Vfs_handle
|
||||
|
||||
int status_flags() const { return _status_flags; }
|
||||
|
||||
void status_flags(int flags) { _status_flags = flags; }
|
||||
|
||||
/**
|
||||
* Return seek offset in bytes
|
||||
*/
|
||||
|
||||
@@ -109,6 +109,10 @@ namespace Noux {
|
||||
sysio->fcntl_out.result = _fh->status_flags();
|
||||
return true;
|
||||
|
||||
case Sysio::FCNTL_CMD_SET_FILE_STATUS_FLAGS:
|
||||
_fh->status_flags(sysio->fcntl_in.long_arg);
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
||||
PWRN("invalid fcntl command %d", sysio->fcntl_in.cmd);
|
||||
|
||||
Reference in New Issue
Block a user