Skip to main content

fork

Function fork 

Source
pub fn fork() -> Result<usize, Error>
Expand description

Fork the current process.

Returns child PID in parent, and 0 in child.