Function panda_sys::qemu_fork[][src]

pub unsafe extern "C" fn qemu_fork(errp: *mut *mut Error) -> pid_t
Expand description

qemu_fork:

A version of fork that avoids signal handler race conditions that can lead to child process getting signals that are otherwise only expected by the parent. It also resets all signal handlers to the default settings.

Returns 0 to child process, pid number to parent or -1 on failure.