mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user