31 int G_getl(
char *buf,
int n, FILE * fd)
33 if (!fgets(buf, n, fd))
36 for (; *buf && *buf !=
'\n'; buf++) ;
84 if ((c = fgetc(fd)) != EOF) {
int G_getl2(char *buf, int n, FILE *fd)
Gets a line of text from a file of any pedigree.
int G_getl(char *buf, int n, FILE *fd)
Gets a line of text from a file.