parent
f6863e3f4b
commit
06fe755f8c
|
@ -58,6 +58,8 @@ class Vfs::Vfs_handle
|
||||||
|
|
||||||
int status_flags() const { return _status_flags; }
|
int status_flags() const { return _status_flags; }
|
||||||
|
|
||||||
|
void status_flags(int flags) { _status_flags = flags; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return seek offset in bytes
|
* Return seek offset in bytes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -109,6 +109,10 @@ namespace Noux {
|
||||||
sysio->fcntl_out.result = _fh->status_flags();
|
sysio->fcntl_out.result = _fh->status_flags();
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
case Sysio::FCNTL_CMD_SET_FILE_STATUS_FLAGS:
|
||||||
|
_fh->status_flags(sysio->fcntl_in.long_arg);
|
||||||
|
return true;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
PWRN("invalid fcntl command %d", sysio->fcntl_in.cmd);
|
PWRN("invalid fcntl command %d", sysio->fcntl_in.cmd);
|
||||||
|
|
Loading…
Reference in New Issue