Lines Matching refs:long_options
167 getopt_long(nargc, nargv, options, long_options, index) in getopt_long() argument
171 struct option * long_options;
178 _DIAGASSERT(long_options != NULL);
194 for (i = 0; long_options[i].name; i++) {
195 if (strncmp(current_argv, long_options[i].name, current_argv_len))
198 if (strlen(long_options[i].name) == (unsigned)current_argv_len) {
206 if (long_options[match].has_arg == required_argument ||
207 long_options[match].has_arg == optional_argument) {
213 if ((long_options[match].has_arg == required_argument)
231 if (long_options[match].flag) {
232 *long_options[match].flag = long_options[match].val;
235 retval = long_options[match].val;