Lines Matching refs:progname
347 static const char * progname; /* program name for error messages */
357 fprintf(stderr, "Usage: %s [switches] ", progname);
428 progname = argv[0];
429 if (progname == NULL || progname[0] == 0)
430 progname = "wrjpgcom"; /* in case C library doesn't provide it */
443 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]);
486 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]);
496 fprintf(stderr, "%s: can't open stdin\n", progname);
509 progname);
513 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn+1]);
519 fprintf(stderr, "%s: only one input file\n", progname);
528 fprintf(stderr, "%s: can't open stdout\n", progname);