diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-09 20:09:42 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-09 20:09:42 +0000 |
commit | 3b534a478324b360d2a9804a28c2a49e06176f30 (patch) | |
tree | 386d13bd72ce3f378661778af27424e9dc452f9a /include/fuse_opt.h | |
parent | 659743bc8870afd42bcacecbd6fa571befd5579f (diff) | |
download | libfuse-3b534a478324b360d2a9804a28c2a49e06176f30.tar.gz |
new version
Diffstat (limited to 'include/fuse_opt.h')
-rw-r--r-- | include/fuse_opt.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/fuse_opt.h b/include/fuse_opt.h index 528ec9d..86099cd 100644 --- a/include/fuse_opt.h +++ b/include/fuse_opt.h @@ -146,23 +146,23 @@ typedef int (*fuse_opt_proc_t)(void *data, const char *arg, int key); * If 'argv' is NULL, the values pointed by argcout and argvout will * be used as input * - * A NULL 'opts' is the same as an 'opts' array containing a single + * A NULL 'opts' is equivalent to an 'opts' array containing a single * end marker * - * If 'proc' is NULL, then any non-matching options will cause an - * error to be returned + * A NULL 'proc' is equivalent to a processing function always + * returning '1' * * If argvout is NULL, then any output arguments are discarded * * If argcout is NULL, then the output argument count is not stored * * @param argc is the input argument count - * @param argv is the input argument vector, may be NULL + * @param argv is the input argument vector * @param data is the user data - * @param opts is the option description array, may be NULL - * @param proc is the processing function, may be NULL - * @param argcout is pointer to output argument count, may be NULL - * @param argvout is pointer to output argument vector, may be NULL + * @param opts is the option description array + * @param proc is the processing function + * @param argcout is pointer to output argument count + * @param argvout is pointer to output argument vector * @return -1 on error, 0 on success */ int fuse_opt_parse(int argc, char *argv[], void *data, |