readrec
extern int readrec(char **, size_t *, FILE *);
c = readrec(&buf, &bufsize, infile);
n = readrec(&buf, &bufsize, fp);