Mark setitimer as unimplemented, obsolete

This commit is contained in:
Ron Williams
2025-04-21 23:29:35 -07:00
parent f216665916
commit c779c1d941
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -114,6 +114,7 @@ pub unsafe extern "C" fn setitimer(
value: *const itimerval,
ovalue: *mut itimerval,
) -> c_int {
// TODO setitimer is unimplemented on Redox
Sys::setitimer(which, &*value, ovalue.as_mut())
.map(|()| 0)
.or_minus_one_errno()