From 3b534a478324b360d2a9804a28c2a49e06176f30 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 9 Dec 2005 20:09:42 +0000 Subject: new version --- include/fuse_opt.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/fuse_opt.h') 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, -- cgit v1.2.3