Fix close, add dup

This commit is contained in:
Jeremy Soller 2016-09-11 17:31:21 -06:00
parent 951831c4bb
commit 2fffe3ee77
6 changed files with 73 additions and 14 deletions

View file

@ -10,6 +10,10 @@ impl Scheme for DebugScheme {
Ok(0)
}
fn dup(&mut self, _file: usize) -> Result<usize> {
Ok(0)
}
/// Read the file `number` into the `buffer`
///
/// Returns the number of bytes read