Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libast/common/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()
55 for (o = longopts; o->name; o++) in golly()
58 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()
/titanic_44/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++)
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/cmd/latencytop/common/
H A Dlatencytop.c194 struct option const longopts[] = { in main() local
248 longopts, &longind)) != -1) { in main()
/titanic_44/usr/src/cmd/flowadm/
H A Dflowadm.c101 static const struct option longopts[] = { variable
422 longopts, NULL)) != -1) { in do_remove_flow()
605 longopts, NULL)) != -1) { in do_show_flow()
/titanic_44/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.