fork

Function fork 

Source
pub async fn fork(
    child_injector: impl Future<Output = ()> + 'static,
) -> target_ulong
Available on crate feature syscall-injection only.
Expand description

Fork the guest process being injected into and begin injecting into it using the provided injector.

Registers will be restored once the child process completes as well, unless the child injector bails.