Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ exec
Function
exec
user/src/task.rs:18–20 ·
view source on GitHub ↗
(path: &str, args: &[*const u8])
Source
from the content-addressed store, hash-verified
16
sys_fork()
17
}
18
pub fn exec(path: &str, args: &[*const u8]) -> isize {
19
sys_exec(path, args)
20
}
21
pub fn wait(exit_code: &mut i32) -> isize {
22
loop {
23
match sys_waitpid(-1, exit_code as *mut _) {
Callers
5
main
Function · 0.85
main
Function · 0.85
run_tests
Function · 0.85
main
Function · 0.85
main
Function · 0.85
Calls
1
sys_exec
Function · 0.70
Tested by
2
main
Function · 0.68
run_tests
Function · 0.68