Skip to main content

getopt_long

Function getopt_long 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn getopt_long( argc: c_int, argv: *const *mut c_char, optstring: *const c_char, longopts: *const option, longindex: *mut c_int, ) -> c_int
Expand description

Non-POSIX, see https://www.man7.org/linux/man-pages/man3/getopt.3.html.

Functions the same as getopt but also accepts long options.