Function gnunet_sys::GNUNET_OS_start_process_v[][src]

pub unsafe extern "C" fn GNUNET_OS_start_process_v(
    std_inheritance: GNUNET_OS_InheritStdioFlags,
    lsocks: *const c_int,
    filename: *const c_char,
    argv: *const *mut c_char
) -> *mut GNUNET_OS_Process

Start a process.

@param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags @param lsocks array of listen sockets to dup systemd-style (or NULL); must be NULL on platforms where dup is not supported @param filename name of the binary @param argv NULL-terminated list of arguments to the process, including the process name as the first argument @return pointer to process structure of the new process, NULL on error