Function gnunet_sys::GNUNET_OS_process_wait[][src]

pub unsafe extern "C" fn GNUNET_OS_process_wait(
    proc_: *mut GNUNET_OS_Process
) -> c_int

Wait for a process to terminate. The return code is discarded. You must not use #GNUNET_OS_process_status() on the same process after calling this function! This function is blocking and should thus only be used if the child process is known to have terminated or to terminate very soon.

@param proc pointer to process structure of the process to wait for @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise