Home
last modified time | relevance | path

Searched refs:longopts (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dgetoptl.c42 golly(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longi… in golly() argument
49 if (!up || optstring != lastoptstring || longopts != lastlongopts) in golly()
54 for (o = longopts; o->name; o++) in golly()
57 sfprintf(up, "\n[%d:%s]", UCHAR_MAX + 1 + (o - longopts), o->name); in golly()
102 lastlongopts = longopts; in golly()
127 o = longopts - c - UCHAR_MAX - 1; in golly()
142 getopt_long(int argc, char* const* argv, const char* optstring, const struct option* longopts, int*… in getopt_long() argument
144 return golly(argc, argv, optstring, longopts, longindex, 2); in getopt_long()
148 getopt_long_only(int argc, char* const* argv, const char* optstring, const struct option* longopts,… in getopt_long_only() argument
150 return golly(argc, argv, optstring, longopts, longindex, 1); in getopt_long_only()
/illumos-gate/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.c515 _getopt_internal (argc, argv, optstring, longopts, longind, long_only) in _getopt_internal() argument
519 const struct option *longopts;
619 + (longopts != NULL && argv[optind][1] == '-'));
637 if (longopts != NULL
654 for (p = longopts, option_index = 0; p->name; p++, option_index++)
842 for (p = longopts, option_index = 0; p->name; p++, option_index++)
/illumos-gate/usr/src/grub/grub-0.97/grub/
H A Dmain.c70 static struct option longopts[] = variable
151 c = getopt_long (argc, argv, OPTSTRING, longopts, 0); in main()
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dmbchk.c29 static struct option longopts[] = variable
191 c = getopt_long (argc, argv, optstring, longopts, 0); in main()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwgetopt.c158 const struct dwoption* longopts, in dwgetopt_long() argument
199 const struct dwoption *dwlopt = longopts +lo_num; in dwgetopt_long()
H A Ddwgetopt.h79 const struct dwoption* longopts,
/illumos-gate/usr/src/cmd/etdump/
H A Detdump.c241 static struct option longopts[] = { in main() local
247 while ((ch = getopt_long(argc, argv, "f:o:", longopts, NULL)) != -1) { in main()
/illumos-gate/usr/src/cmd/latencytop/
H A Dlatencytop.c195 struct option const longopts[] = { in main() local
249 longopts, &longind)) != -1) { in main()
/illumos-gate/usr/src/cmd/connstat/
H A Dconnstat_main.c52 static const struct option longopts[] = { variable
187 longopts, NULL)) != -1) { in main()
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c104 static const struct option longopts[] = { variable
425 longopts, NULL)) != -1) { in do_remove_flow()
608 longopts, NULL)) != -1) { in do_show_flow()
/illumos-gate/usr/src/tools/cw/
H A Dcw.c1354 static struct option longopts[] = { in main() local
1368 while ((ch = getopt_long(argc, argv, "C", longopts, NULL)) != -1) { in main()
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog1730 (longopts): Added an entry for "--no-pager".
1901 (longopts): Added an entry for "--preset-menu".
3717 * grub/main.c (longopts): The type of the argument for "hold" is
6612 (longopts): Added an entry for "device-map".
7456 (longopts): Added no-floppy and probe-second-floppy.
8498 (longopts): Add --read-only and --verbose options.
8567 (longopts): Rename from "disable-config-file" to
8652 (longopts): Add new options, --disable-config-file, --disable-curses,
8816 (longopts): Add new options, config-file, install-partition and
8838 (longopts): New option --hold.