Lines Matching defs:opt
1 /* $OpenBSD: fuse-opt-add-opt.c,v 1.3 2018/07/20 12:05:08 helg Exp $ */
24 char *opt = NULL;
34 if (fuse_opt_add_opt(&opt, "-a") != 0)
36 if (fuse_opt_add_opt(&opt, "--bc") != 0)
38 if (fuse_opt_add_opt(&opt, "01234") != 0)
40 if (fuse_opt_add_opt(&opt, "-56789") != 0)
42 if (fuse_opt_add_opt(&opt, "-o test1") != 0)
44 if (fuse_opt_add_opt(&opt, "test") != 0)
47 if (fuse_opt_add_opt(&opt, NULL) != -1)
49 if (fuse_opt_add_opt(&opt, "") != -1)
52 return (strcmp(opt, opt2));