Lines Matching defs:options
52 static void process_opts(char *options, int *directp);
54 static int ro_given(char *options);
73 char *options = "";
85 options = optarg;
96 * program never complains about invalid -o options
124 process_opts(options, &fni.direct);
126 if (roflg && !ro_given(options))
127 options = concat_opts(options, "ro");
133 fni.opts = options;
143 strcpy(obuf, options);
172 * Remove pseudo-options "direct", "indirect", "nest", and "ignore" from
178 process_opts(char *options, int *directp)
183 if ((opts = strdup(options)) == NULL) {
188 options[0] = '\0';
202 if (options[0] != '\0') {
203 (void) strcat(options, ",");
205 (void) strcat(options, opt);
211 * Concatenate two options strings, with a comma between them.
230 * check the options string for 'ro' options
235 ro_given(char *options)
237 char *op = options;