Lines Matching refs:progname
136 static const char * progname; /* program name for error messages */ variable
144 fprintf(stderr, "usage: %s [switches] ", progname); in usage()
253 progname); in parse_switches()
309 progname); in parse_switches()
326 progname); in parse_switches()
394 progname); in parse_switches()
479 progname = argv[0]; in main()
480 if (progname == NULL || progname[0] == 0) in main()
481 progname = "cjpeg"; /* in case C library doesn't provide it */ in main()
518 progname); in main()
525 progname); in main()
532 fprintf(stderr, "%s: only one input file\n", progname); in main()
540 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in main()
551 fprintf(stderr, "%s: can't open %s\n", progname, outfilename); in main()