Function transmission_sys::tr_getopt
source · pub unsafe extern "C" fn tr_getopt(
summary: *const c_char,
argc: c_int,
argv: *const *const c_char,
opts: *const tr_option,
setme_optarg: *mut *const c_char
) -> c_int
Expand description
@brief similar to getopt () @return TR_GETOPT_DONE, TR_GETOPT_ERR, TR_GETOPT_UNK, or the matching tr_option’s `val’ field