readcsvrec
extern int readcsvrec(char **pbuf, int *pbufsize, FILE *inf, bool newflag);
c = readcsvrec(&buf, &bufsize, inf, newflag);