Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ waitpid_nb
Function
waitpid_nb
user/src/task.rs:45–47 ·
view source on GitHub ↗
(pid: usize, exit_code: &mut i32)
Source
from the content-addressed store, hash-verified
43
}
44
45
pub fn waitpid_nb(pid: usize, exit_code: &mut i32) -> isize {
46
sys_waitpid(pid as isize, exit_code as *mut _)
47
}
48
49
bitflags! {
50
pub struct SignalFlags: i32 {
Callers
1
main
Function · 0.85
Calls
1
sys_waitpid
Function · 0.70
Tested by
no test coverage detected