Searched refs:readrec (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10.1/awk-20/src/
H A Dproto.h121 extern int readrec(char **buf, int *bufsize, FILE *inf);
H A Dlib.c144 c = readrec(&buf, &bufsize, infile);
184 int readrec(char **pbuf, int *pbufsize, FILE *inf) /* read one record into buf */ function
203 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 1"))
211 if (!adjbuf(&buf, &bufsize, 2+rr-buf, recsize, &rr, "readrec 2"))
216 if (!adjbuf(&buf, &bufsize, 1+rr-buf, recsize, &rr, "readrec 3"))
219 dprintf( ("readrec saw <%s>, returns %d\n", buf, c == EOF && rr == buf ? 0 : 1) );
H A Drun.c418 n = readrec(&buf, &bufsize, fp);

Completed in 83 milliseconds