fgetstr
while (fgetstr(lbuf, sizeof(lbuf), fd) >= 0) {
extern int fgetstr(char *buf, int size, int fd);
while((fgetstr(buf, 80, hfd) >= 0) && (buf[0] != '#')) {
if (fgetstr(line, 80, fd) < 0)
while (fgetstr(input, sizeof(input), fd) >= 0) {