linux_api::sched

Function clone

source
pub unsafe fn clone(
    flags: CloneFlags,
    exit_signal: Option<Signal>,
    stack: *mut c_void,
    parent_tid: *mut kernel_pid_t,
    child_tid: *mut kernel_pid_t,
    tls: *mut linux_user_desc,
) -> Result<CloneResult, Errno>
Expand description

ยงSafety

Too many requirements to list here. See clone(2).