Implement vfwprintf

This commit is contained in:
Jeremy Soller
2023-02-27 20:44:25 -07:00
parent 410e897807
commit e1ecdbd8a5
3 changed files with 1015 additions and 7 deletions
+7
View File
@@ -227,6 +227,13 @@ impl FILE {
}
}
pub fn try_set_wide_orientation_unlocked(&mut self) -> core::result::Result<(), c_int> {
match self.try_set_orientation_unlocked(1) {
1..=i32::MAX => Ok(()),
x => Err(x),
}
}
pub fn purge(&mut self) {
// Purge read buffer
self.read_pos = 0;