remove commented out wait3 and rusage

This commit is contained in:
auronandace
2025-12-02 19:30:19 +00:00
parent cf3aaf4e43
commit ccc1d0b6fe
-10
View File
@@ -2,7 +2,6 @@
//! http://pubs.opengroup.org/onlinepubs/7908799/xsh/syswait.h.html
use crate::{error::ResultExt, out::Out};
//use header::sys_resource::rusage;
use crate::platform::{Pal, Sys, types::*};
pub const WNOHANG: c_int = 1;
@@ -23,15 +22,6 @@ pub unsafe extern "C" fn wait(stat_loc: *mut c_int) -> pid_t {
waitpid(!0, stat_loc, 0)
}
// #[unsafe(no_mangle)]
// pub unsafe extern "C" fn wait3(
// stat_loc: *mut c_int,
// options: c_int,
// resource_usage: *mut rusage,
// ) -> pid_t {
// unimplemented!();
// }
/*
* TODO: implement idtype_t, id_t, and siginfo_t
*