Lines Matching refs:argv
239 int main( int argc, char * const argv[] ) in main() argument
253 if( argv[argi][0] == '-' && argv[argi][2] == '\0' ) in main()
255 switch(argv[argi][1]) { in main()
257 if (argi+1 >= argc || argv[argi+1][0] == '-') in main()
259 fprintf(stderr, "Option -%c requires an operand\n", argv[argi][1]); in main()
265 outfile = argv[argi]; in main()
268 if (argi+1 >= argc || argv[argi+1][0] == '-') in main()
270 fprintf(stderr, "Option -%c requires an operand\n", argv[argi][1]); in main()
275 read_encoding_table(argv[++argi], aEncodingMap); in main()
278 fprintf(stderr, "Unrecognized option: -%c\n", argv[argi][1]); in main()
296 istream = fopen(argv[argi], "r"); in main()
298 fprintf(stderr, "ulfconv: %s : %s\n", argv[argi], strerror(errno)); in main()