Skip to main content

fork

Function fork 

Source
pub fn fork() -> i32
Expand description

Call NtCreateUserProcess to fork the current process. Inheritable objects are inherited by the child process (PROCESS_CREATE_FLAGS_INHERIT_FROM_PARENT).

The function returns an NTSTATUS.