Function gnunet_sys::GNUNET_HELPER_kill [−][src]
pub unsafe extern "C" fn GNUNET_HELPER_kill(
h: *mut GNUNET_HELPER_Handle,
soft_kill: c_int
) -> c_int
Sends termination signal to the helper process. The helper process is not reaped; call GNUNET_HELPER_wait() for reaping the dead helper process.
@param h the helper handle @param soft_kill if #GNUNET_YES, signals termination by closing the helper’s stdin; #GNUNET_NO to signal termination by sending SIGTERM to helper @return #GNUNET_OK on success; #GNUNET_SYSERR on error