Skip to main content

fork

Function fork 

Source
pub unsafe fn fork() -> Result<ForkOutcome, Errno>
Expand description

Fork the current process.

§Safety

Caller must ensure fork safety — no async-signal-unsafe operations in the child between fork() and exec().