MCPcopy Create free account
hub / github.com/Starry-OS/StarryOS / sys_fork

Function sys_fork

api/src/syscall/task/clone.rs:232–234  ·  view source on GitHub ↗
(uctx: &UserContext)

Source from the content-addressed store, hash-verified

230
231#[cfg(target_arch = "x86_64")]
232pub fn sys_fork(uctx: &UserContext) -> AxResult<isize> {
233 sys_clone(uctx, SIGCHLD, 0, 0, 0, 0)
234}

Callers 1

handle_syscallFunction · 0.85

Calls 1

sys_cloneFunction · 0.85

Tested by

no test coverage detected