Add file RPC dup call
This commit is contained in:
parent
f340302150
commit
650b92b3ae
@ -56,6 +56,10 @@ impl file_rpc::Server for FileServ {
|
|||||||
fn size(&self, _fd: u64) -> Option<u64> {
|
fn size(&self, _fd: u64) -> Option<u64> {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn dup(&self, fd: u64) -> Option<u64> {
|
||||||
|
Some(fd)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static SCANDODE_DECODER: Mutex<ScancodeSet2> = Mutex::new(ScancodeSet2::new());
|
static SCANDODE_DECODER: Mutex<ScancodeSet2> = Mutex::new(ScancodeSet2::new());
|
||||||
|
Loading…
Reference in New Issue
Block a user