Function gnunet_sys::GNUNET_OS_get_libexec_binary_path[][src]

pub unsafe extern "C" fn GNUNET_OS_get_libexec_binary_path(
    progname: *const c_char
) -> *mut c_char

Given the name of a gnunet-helper, gnunet-service or gnunet-daemon binary, try to prefix it with the libexec/-directory to get the full path.

@param progname name of the binary @return full path to the binary, if possible, otherwise copy of ‘progname’