Searched refs:getopt (Results 276 - 300 of 923) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c75 while ((c = getopt(argc, argv, "fr")) != -1) {
/illumos-gate/usr/src/test/zfs-tests/cmd/mktree/
H A Dmktree.c58 while ((c = getopt(argc, argv, "b:l:d:f:")) != -1) {
/illumos-gate/usr/src/lib/libast/
H A DMakefile95 getopt.h \
/illumos-gate/usr/src/lib/libast/common/include/
H A Dast_std.h350 #include <getopt.h>
/illumos-gate/usr/src/cmd/localedef/
H A Dlocaledef.c241 while ((c = getopt(argc, argv, "w:i:cf:u:vU")) != -1) {
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpusers.c97 opterr = 0; /* disable printing of errors by getopt */
98 while ((c = getopt(argc, argv, "ld:q:u:")) != -1)
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/
H A Dfile_trunc.c109 while ((c = getopt(argc, argv, "b:c:f:o:rs:v")) != -1) {
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/
H A Dgetholes.c127 while ((c = getopt(argc, argv, "dhv")) != -1) {
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/
H A Dmkholes.c123 while ((c = getopt(argc, argv, "d:h:")) != -1) {
/illumos-gate/usr/src/cmd/oamuser/user/
H A Duserdel.c87 opterr = 0; /* no print errors from getopt */
90 while ((ch = getopt(argc, argv, "r")) != EOF) {
/illumos-gate/usr/src/head/
H A Dstdlib.h266 extern int getopt(int, char *const *, const char *);
/illumos-gate/usr/src/tools/scripts/
H A Dvalidate_pkg.py34 import getopt namespace
774 opts, args = getopt.getopt(argv, 'a:e:Ll:Mm:p:vX:')
775 except getopt.GetoptError, exc:
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dls.c74 while ((ch = getopt(argc, argv, "l")) != -1) {
81 /* getopt has already reported an error */
/illumos-gate/usr/src/cmd/vi/port/
H A Dex.c252 while ((c = getopt(ac, (char **)av, "VU:Lc:Tvt:rlw:xRCsS")) !=
255 while ((c = getopt(ac, (char **)av,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c75 extern int getopt(), setdomainname();
138 while ((c = getopt(argc, argv, "dhvnmf:p:")) != -1) {
H A Din.comsat.c142 extern int getopt();
147 while ((c = getopt(argc, argv, "d")) != -1) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/
H A Dsppptun.c202 while ((opt = getopt(argc, argv, "s:")) != EOF) {
444 while ((opt = getopt(argc, argv, "v")) != EOF)
/illumos-gate/usr/src/cmd/fmtmsg/
H A Dmain.c66 * getopt Function that extracts arguments from the command-
67 * optarg Points to option's argument (from getopt())
68 * optind Option's argument index (from getopt())
69 * opterr FLAG, write error if invalid option (for getopt())
79 extern int getopt();
569 opterr = 0; /* Disable messages from getopt() */
593 while (((optchar = getopt(argc, argv, "a:c:l:s:t:u:")) != EOF) &&
/illumos-gate/usr/src/cmd/setuname/
H A Dsetuname.c76 * optind index to the next arg for getopt()
77 * opterr FLAG, TRUE tells getopt() to write messages
79 * getopt() Gets an option from the command line
91 extern int opterr; /* TRUE if getopt() is to print msgs */
93 extern int getopt(); /* Get an option from the command line */
225 while (!usageerr && (c = getopt(argc, argv, OPTSTRING)) != EOF) switch(c) {
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Didmap_engine.c73 /* getopt variables */
85 while ((c = getopt(argc, argv, options)) != EOF) {
534 while ((c = getopt(argc, argv,
/illumos-gate/usr/src/cmd/sort/common/
H A Doptions.c255 * parse_old_field_spec() is getopt()-aware; it may modify the values of optind,
282 * In the case that getopt() returns '?' (unrecognized option) or EOF
295 if ((c = getopt(argc, argv, OLD_SPEC_OPTIONS_STRING)) != EOF) {
397 if ((c = getopt(argc, argv, OPTIONS_STRING)) != EOF) {
544 * There are three (interpretable) possibilities for getopt() to
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c94 while ((optc = getopt(argc, argv, "f:")) != EOF) {
111 while ((optc = getopt(argc, argv, "acfmr:d:t:")) != EOF) {
/illumos-gate/usr/src/lib/libast/common/
H A Dllib-last79 #include <getopt.h>
/illumos-gate/usr/src/cmd/lp/filter/postscript/postprint/
H A Dpostprint.c231 int ch; /* return value from getopt() */
247 while ( (ch = getopt(argc, argv, optnames)) != EOF )
280 int ch; /* return value from getopt() */
315 while ( (ch = getopt(argc, argv, optnames)) != EOF ) {
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.tsol_separator.c68 int optind; /* Used by getopt */
69 char *optarg; /* Used by getopt */
405 while ((option_letter = getopt(argc, argv, options_string)) != EOF) {
431 while ((option_letter = getopt(argc, argv, options_string)) != EOF) {

Completed in 195 milliseconds

<<11121314151617181920>>