nextrecord
int nextrecord(wchar_t *buf, FILE *fp);
ret = nextrecord(linebuf, fp);
ret = nextrecord(cp, fp);
while (nextrecord(linebuf, awkinfp) > 0)