Lines Matching defs:pname
227 exit_with_usage(pname)
228 char *pname;
230 fprintf(stderr, "Usage:\n %s [options] [infile [outfile]]\n", pname);
231 fprintf(stderr, " or\n %s -r [-s [-]offset] [-c cols] [-ps] [infile [outfile]]\n", pname);
263 huntype(fpi, fpo, fperr, pname, cols, hextype, base_off)
265 char *pname;
329 fprintf(fperr, "%s: sorry, cannot seek backwards.\n", pname);
455 char *pname, *pp;
463 pname = argv[0];
464 for (pp = pname; *pp; )
466 pname = pp;
468 for (pp = pname; *pp; pp++)
498 exit_with_usage(pname);
511 exit_with_usage(pname);
534 exit_with_usage(pname);
553 exit_with_usage(pname);
566 exit_with_usage(pname);
597 fprintf(stderr, "%s: invalid number of columns (max. %d).\n", pname, COLS);
605 exit_with_usage(pname);
613 fprintf(stderr,"%s: ", pname);
629 fprintf(stderr, "%s: ", pname);
640 fprintf(stderr, "%s: sorry, cannot revert this type of hexdump\n", pname);
643 return huntype(fp, fpo, stderr, pname, cols, hextype,
656 fprintf(stderr, "%s: sorry cannot seek.\n", pname);