Searched refs:longopts (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/lib/
H A Dgetopt.h111 const struct option *longopts, int *longind);
114 const struct option *longopts, int *longind);
119 const struct option *longopts, int *longind,
H A Dgetopt.c519 _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
523 const struct option *longopts;
623 + (longopts != NULL && argv[optind][1] == '-'));
641 if (longopts != NULL
658 for (p = longopts, option_index = 0; p->name; p++, option_index++)
839 table of longopts. */
846 for (p = longopts, option_index = 0; p->name; p++, option_index++)
/osnet-11/usr/src/lib/libast/common/comp/
H A Dgetoptl.c42 golly(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longindex, int flags) argument
49 if (!up || optstring != lastoptstring || longopts != lastlongopts)
55 for (o = longopts; o->name; o++)
58 sfprintf(up, "\n[%d:%s]", UCHAR_MAX + 1 + (o - longopts), o->name);
102 lastlongopts = longopts;
127 o = longopts - c - UCHAR_MAX - 1;
142 getopt_long(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longindex) argument
144 return golly(argc, argv, optstring, longopts, longindex, 2);
148 getopt_long_only(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longindex) argument
150 return golly(argc, argv, optstring, longopts, longinde
[all...]
/osnet-11/usr/src/grub/grub-0.97/grub/
H A Dmain.c70 static struct option longopts[] = variable in typeref:struct:option
151 c = getopt_long (argc, argv, OPTSTRING, longopts, 0);
/osnet-11/usr/src/grub/grub-0.97/util/
H A Dmbchk.c29 static struct option longopts[] = variable in typeref:struct:option
191 c = getopt_long (argc, argv, optstring, longopts, 0);
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dgetopt.c351 const struct option *longopts, int *longind,
462 + (longopts != NULL && argv[d->optind][1] == '-'));
480 if (longopts != NULL
498 for (p = longopts, option_index = 0; p->name; p++, option_index++)
848 table of longopts. */
856 for (p = longopts, option_index = 0; p->name; p++, option_index++)
1080 const struct option *longopts, int *longind, int long_only,
1088 result = _getopt_internal_r (argc, argv, optstring, longopts,
346 _getopt_internal_r(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d, int posixly_correct) argument
1075 _getopt_internal(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct) argument

Completed in 53 milliseconds