Function gnunet_sys::GNUNET_GETOPT_run [−][src]
pub unsafe extern "C" fn GNUNET_GETOPT_run(
binaryOptions: *const c_char,
allOptions: *const GNUNET_GETOPT_CommandLineOption,
argc: c_uint,
argv: *const *mut c_char
) -> c_int
Parse the command line.
@param binaryOptions Name of application with option summary @param allOptions defined options and handlers @param argc number of arguments in @a argv @param argv actual arguments @return index into argv with first non-option argument, or #GNUNET_SYSERR on error