Lines Matching defs:bytecnt
77 intmax_t bytecnt;
86 bytecnt = 0;
91 bytecnt = strtoimax(optarg, &ep, 10);
92 if ((bytecnt == INTMAX_MAX && errno == ERANGE) ||
93 *ep || bytecnt <= 0)
134 head(fp, linecnt, bytecnt);
138 head(stdin, linecnt, bytecnt);
143 head(FILE *fp, intmax_t cnt, intmax_t bytecnt)
149 if (bytecnt) {
150 while (bytecnt) {
152 if (bytecnt > (intmax_t)sizeof(buf))
155 len = bytecnt;
166 bytecnt -= rv;