Lines Matching defs:readlen
161 size_t error, readlen;
163 while (cnt != 0 && (cp = fgetln(fp, &readlen)) != NULL) {
164 error = fwrite(cp, sizeof(char), readlen, stdout);
165 if (error != readlen)
175 size_t readlen;
179 readlen = cnt;
181 readlen = sizeof(buf);
182 readlen = fread(buf, sizeof(char), readlen, fp);
183 if (readlen == 0)
185 if (fwrite(buf, sizeof(char), readlen, stdout) != readlen)
187 cnt -= readlen;