Lines Matching refs:iArg
71 int iArg;
89 for (iArg = 1; iArg < argc; iArg++)
91 if (!strcmp(argv[iArg], "-min"))
93 if (++iArg >= argc)
95 cbMin = 1024 * strtoul(argv[iArg], NULL, 0);
97 else if (!strcmp(argv[iArg], "-max"))
99 if (++iArg >= argc)
101 cbMax = 1024 * strtoul(argv[iArg], NULL, 0);
103 else if (!strcmp(argv[iArg], "-mask"))
105 if (++iArg >= argc)
107 uMask = strtoul(argv[iArg], NULL, 0);
109 else if (!strcmp(argv[iArg], "-ascii"))
111 else if (!strcmp(argv[iArg], "--append"))
113 else if (!strcmp(argv[iArg], "-export"))
115 else if (!strcmp(argv[iArg], "-width"))
117 if (++iArg >= argc)
119 cbLine = strtoul(argv[iArg], NULL, 0);
123 argv[0], argv[iArg], (unsigned)sizeof(abLine));
127 else if (!strcmp(argv[iArg], "-break"))
129 if (++iArg >= argc)
131 iBreakEvery = strtol(argv[iArg], NULL, 0);
135 argv[0], argv[iArg]);
139 else if (iArg == argc - 3)
144 argv[0], argv[iArg]);
149 pFileIn = fopen(argv[iArg+1], "rb");
152 fprintf(stderr, "Error: failed to open input file '%s'!\n", argv[iArg+1]);
156 pFileOut = fopen(argv[iArg+2], fAppend ? "a" : "w"); /* no b! */
159 fprintf(stderr, "Error: failed to open output file '%s'!\n", argv[iArg+2]);
177 argv[iArg+1], argv[0], fExport ? "DECLEXPORT(" : "", fExport ? ")" : "", argv[iArg]);
232 fExport ? "DECLEXPORT(" : "", fExport ? ")" : "", argv[iArg], argv[iArg]);
247 remove(argv[iArg+2]);