Lines Matching refs:line
102 * Read one line from a file. Skip comments, empty lines and a line with a
110 static char line[MAXLINESIZE];
117 s = fgets(line, sizeof (line), fd);
121 if (line[0] == '\n' || line[0] == '#')
123 len = strlen(line);
124 if (line[len - 1] == '\n')
125 line[len - 1] = '\0';
126 last = line[skiplen];
128 if (skip != NULL && strncmp(skip, line, skiplen) == 0 &&
134 return (line);
234 char *line;
251 while ((line = zgetline(oldfp, mountpoint)) != NULL)
252 fprintf(newfp, "%s\n", line);
367 char *s, last, line[MAXLINESIZE];
377 s = fgets(line, sizeof (line), fp);
381 if (line[0] == '\n' || line[0] == '#')
383 len = strlen(line);
384 if (line[len - 1] == '\n')
385 line[len - 1] = '\0';
386 last = line[mntlen];
388 if (strncmp(mntpoint, line, mntlen) == 0 &&