From ccc1d0b6fed101b49d0a682fabb5234f41f760b8 Mon Sep 17 00:00:00 2001 From: auronandace Date: Tue, 2 Dec 2025 19:30:19 +0000 Subject: [PATCH] remove commented out wait3 and rusage --- src/header/sys_wait/mod.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/header/sys_wait/mod.rs b/src/header/sys_wait/mod.rs index e62d23c550..af1b49a317 100644 --- a/src/header/sys_wait/mod.rs +++ b/src/header/sys_wait/mod.rs @@ -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 *