[][src]Function libfuse_sys::fuse::fuse_parse_cmdline

pub unsafe extern "C" fn fuse_parse_cmdline(
    args: *mut fuse_args,
    mountpoint: *mut *mut c_char,
    multithreaded: *mut c_int,
    foreground: *mut c_int
) -> c_int

Parse common options

The following options are parsed:

'-f' foreground '-d' '-odebug' foreground, but keep the debug option '-s' single threaded '-h' '--help' help '-ho' help without header '-ofsname=..' file system name, if not present, then set to the program name

All parameters may be NULL

@param args argument vector @param mountpoint the returned mountpoint, should be freed after use @param multithreaded set to 1 unless the '-s' option is present @param foreground set to 1 if one of the relevant options is present @return 0 on success, -1 on failure