Searched refs:optind (Results 1 - 25 of 807) sorted by relevance

1234567891011>>

/macosx-10.10.1/patch_cmds-17/diffstat/porting/
H A Dgetopt.h2 extern int optind, opterr;
H A Dgetopt.c32 int optind = 1; variable
44 if (optind >= argc ||
45 argv[optind][0] != '-' || argv[optind][1] == '\0')
47 else if (strcmp(argv[optind], "--") == 0) {
48 optind++;
52 optopt = c = argv[optind][sp];
55 if (argv[optind][++sp] == '\0') {
56 optind++;
62 if (argv[optind][s
[all...]
/macosx-10.10.1/network_cmds-457/mnc.tproj/
H A Dmnc_opts.c76 int optind, local
90 for (optind = 1; optind < (argc - 1); optind++)
92 if ( (argv[optind][0] == '-') || (argv[optind][0] == '/') )
94 switch(argv[optind][1])
101 case 'p': config.port = argv[++optind];
105 case 'i': config.iface = argv[++optind];
121 if (optind >
[all...]
/macosx-10.10.1/uucp-11/uucp/lib/
H A Dgetopt.c67 Otherwise, `optind' communicates from one call to the next
70 int optind = 0;
113 `--' can cause `getopt' to return EOF with `optind' != ARGC. */
137 The other is elements [last_nonopt,optind), which contains all
157 (optind - last_nonopt) * sizeof (char *));
159 (char *) &argv[first_nonopt + optind - last_nonopt],
166 first_nonopt += (optind - last_nonopt);
167 last_nonopt = optind;
181 updating `optind' and `nextchar' so that the next call to `getopt' can
185 Then `optind' i
69 int optind = 0; variable
[all...]
/macosx-10.10.1/bc-21/bc/lib/
H A Dgetopt.c100 Otherwise, `optind' communicates from one call to the next
104 int optind = 0;
153 `--' can cause `getopt' to return EOF with `optind' != ARGC. */
219 The other is elements [last_nonopt,optind), which contains all
231 int top = optind;
277 first_nonopt += (optind - last_nonopt);
278 last_nonopt = optind;
291 first_nonopt = last_nonopt = optind = 1;
328 updating `optind' and `nextchar' so that the next call to `getopt' can
332 Then `optind' i
103 int optind = 0; variable
[all...]
/macosx-10.10.1/shell_cmds-179/getopt/
H A Dgetopt.c14 optind = 2; /* Past the program name and the option letters. */
28 for (; optind < argc; optind++)
29 printf(" %s", argv[optind]);
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dgetopt.c43 int optind = 1; variable
90 if (optind >= argc || argv[optind][0] != sw
91 || argv[optind][1] == eos)
93 else if (strcmp(argv[optind],"--") == 0)
95 optind++;
99 c = argv[optind][sp];
104 if (argv[optind][++sp] == eos)
106 optind++;
113 if (argv[optind][s
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/clib/
H A Dgetopt.c44 optind = 1, /* index into parent argv vector */ variable
81 opterr = optind = 1;
96 if (optind >= nargc || *(place = nargv[optind]) != '-') {
101 ++optind;
115 ++optind;
124 ++optind;
129 else if (nargc <= ++optind) { /* no arg */
140 optarg = nargv[optind];
142 ++optind;
[all...]
/macosx-10.10.1/Libc-1044.1.2/stdlib/FreeBSD/
H A Dgetopt.c49 optind = 1, /* index into parent argv vector */ variable
80 place = nargv[optind];
81 if (optind >= nargc || *place++ != '-') {
89 ++optind;
107 ++optind;
120 ++optind;
126 else if (nargc > ++optind)
127 optarg = nargv[optind];
131 /* Yes, the standard will put optind past the last
133 ++optind;
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/libiberty/
H A Dgetopt.c128 Otherwise, `optind' communicates from one call to the next
132 int optind = 1;
134 /* Formerly, initialization of getopt depended on optind==0, which
187 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
309 The other is elements [last_nonopt,optind), which contains all
324 int top = optind;
394 first_nonopt += (optind - last_nonopt);
395 last_nonopt = optind;
412 first_nonopt = last_nonopt = optind;
479 updating `optind' an
131 int optind = 1; variable
[all...]
/macosx-10.10.1/gnudiff-19/diffutils/lib/
H A Dgetopt.c124 Otherwise, `optind' communicates from one call to the next
128 int optind = 1;
130 /* Formerly, initialization of getopt depended on optind==0, which
183 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
303 The other is elements [last_nonopt,optind), which contains all
319 int top = optind;
389 first_nonopt += (optind - last_nonopt);
390 last_nonopt = optind;
408 first_nonopt = last_nonopt = optind;
475 updating `optind' an
127 int optind = 1; variable
[all...]
/macosx-10.10.1/gnuserv-7/gnuserv/
H A Dgetopt.c128 Otherwise, `optind' communicates from one call to the next
132 int optind = 1;
134 /* Formerly, initialization of getopt depended on optind==0, which
187 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
286 The other is elements [last_nonopt,optind), which contains all
301 int top = optind;
371 first_nonopt += (optind - last_nonopt);
372 last_nonopt = optind;
387 first_nonopt = last_nonopt = optind;
457 updating `optind' an
131 int optind = 1; variable
[all...]
/macosx-10.10.1/gpatch-3/patch/
H A Dgetopt.c124 Otherwise, `optind' communicates from one call to the next
128 int optind = 1;
130 /* Formerly, initialization of getopt depended on optind==0, which
183 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
303 The other is elements [last_nonopt,optind), which contains all
319 int top = optind;
389 first_nonopt += (optind - last_nonopt);
390 last_nonopt = optind;
408 first_nonopt = last_nonopt = optind;
475 updating `optind' an
127 int optind = 1; variable
[all...]
/macosx-10.10.1/srm-7/srm/lib/
H A Dgetopt.c124 Otherwise, `optind' communicates from one call to the next
128 int optind = 1;
130 /* Formerly, initialization of getopt depended on optind==0, which
183 `--' can cause `getopt' to return -1 with `optind' != ARGC. */
297 The other is elements [last_nonopt,optind), which contains all
313 int top = optind;
383 first_nonopt += (optind - last_nonopt);
384 last_nonopt = optind;
402 first_nonopt = last_nonopt = optind;
469 updating `optind' an
127 int optind = 1; variable
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/xotcl/xotcl/library/store/XOTclSdbm/
H A Dutil.c121 static int optind = 0; local
128 if (optind == 0)
129 optind++;
130 if (optind >= argc)
133 optarg = place = argv[optind++];
159 if (optind >= argc) {
165 optarg = argv[optind];
166 optind++;
179 if (optind >= argc || *argv[optind]
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dgetopt.c48 ROKEN_LIB_VARIABLE int optind = 1; /* index into parent argv vector */ variable
66 if (optind >= nargc || *(place = nargv[optind]) != '-') {
71 ++optind;
85 ++optind;
99 ++optind;
104 else if (nargc <= ++optind) { /* no arg */
119 optarg = nargv[optind];
121 ++optind;
/macosx-10.10.1/dcerpc-61/dcerpc/demos/access/
H A Dgetopt.h47 extern int optind;
/macosx-10.10.1/dcerpc-61/dcerpc/demos/echo_number/
H A Dgetopt.h47 extern int optind;
/macosx-10.10.1/dcerpc-61/dcerpc/demos/echo_server/
H A Dgetopt.h47 extern int optind;
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/include/
H A Dast_getopt.h35 extern int optind;
/macosx-10.10.1/libpcap-48/libpcap/Win32/Src/
H A Dgetopt.c43 optind = 1, /* index into parent argv vector */ variable
72 if (optind >= nargc || *(place = nargv[optind]) != '-') {
77 ++optind;
91 ++optind;
100 ++optind;
105 else if (nargc <= ++optind) { /* no arg */
116 optarg = nargv[optind];
118 ++optind;
/macosx-10.10.1/tcl-105/tcl_ext/tclx/tclx/compat/
H A Dgetopt.c47 optind = 1, /* index into parent argv vector */ variable
71 if (optind >= nargc || *(place = nargv[optind]) != '-') {
76 ++optind;
90 ++optind;
104 ++optind;
109 else if (nargc <= ++optind) { /* no arg */
127 optarg = nargv[optind];
129 ++optind;
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/port/
H A Dgetopt.c41 optind = 1, /* index into parent argv vector */ variable
62 place = argv[optind];
63 if (optind >= argc || *place++ != '-') {
71 ++optind;
89 ++optind;
101 ++optind;
107 else if (argc > ++optind)
108 optarg = argv[optind];
121 ++optind;
/macosx-10.10.1/tcpdump-61/tcpdump/win32/Src/
H A Dgetopt.c43 optind = 1, /* index into parent argv vector */ variable
68 if (optind >= nargc || *(place = nargv[optind]) != '-') {
73 ++optind;
87 ++optind;
96 ++optind;
101 else if (nargc <= ++optind) { /* no arg */
112 optarg = nargv[optind];
114 ++optind;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/include/
H A Dgetopt-compat.h29 #define optind lutil_optind macro
35 LDAP_LUTIL_V (int) optind, opterr, optopt;

Completed in 217 milliseconds

1234567891011>>