修改errno,使其与relibc的保持一致 (#234)

修改errno,使其与relibc的保持一致
This commit is contained in:
houmkh
2023-04-11 17:05:33 +08:00
committed by GitHub
parent ac48398d3f
commit 79a452ce8f
20 changed files with 593 additions and 402 deletions

View File

@ -240,7 +240,7 @@ pub fn timer_get_first_expire() -> Result<u64, SystemError> {
Err(_) => continue,
}
}
return Err(SystemError::EAGAIN);
return Err(SystemError::EAGAIN_OR_EWOULDBLOCK);
}
pub fn update_timer_jiffies(add_jiffies: u64) -> u64 {