Add file RPC dup call

This commit is contained in:
pjht 2024-09-17 11:41:32 -05:00
parent f340302150
commit 650b92b3ae
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A

View File

@ -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());