Lines Matching refs:progname
341 static const char *progname; /* program name for error messages */ variable
351 fprintf(stderr, "Usage: %s [switches] ", progname); in usage()
422 progname = argv[0]; in main()
423 if (progname == NULL || progname[0] == 0) in main()
424 progname = "wrjpgcom"; /* in case C library doesn't provide it */ in main()
437 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
495 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in main()
505 fprintf(stderr, "%s: can't open stdin\n", progname); in main()
517 fprintf(stderr, "%s: must name one input and one output file\n", progname); in main()
521 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn + 1]); in main()
527 fprintf(stderr, "%s: only one input file\n", progname); in main()
536 fprintf(stderr, "%s: can't open stdout\n", progname); in main()