19 if (!fgets(buf, n, fd))
22 for (; *buf && *buf !=
'\n'; buf++) ;
72 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
char buf[GNAME_MAX+sizeof(G3D_DIRECTORY)+2]
int G_getl(char *buf, int n, FILE *fd)
gets a line of text from a file