Lines Matching defs:line
68 * Read one line from a file. Skip comments, empty lines and a line with a
74 static char line[MAXLINESIZE];
81 s = fgets(line, sizeof(line), fd);
85 if (line[0] == '\n' || line[0] == '#')
87 len = strlen(line);
88 if (line[len - 1] == '\n')
89 line[len - 1] = '\0';
90 last = line[skiplen];
92 if (skip != NULL && strncmp(skip, line, skiplen) == 0 &&
98 return (line);
154 char *line;
203 while (oldfd != NULL && (line = getline(oldfd, mountpoint)) != NULL)
204 fprintf(newfd, "%s\n", line);