Lines Matching defs:line
20 * addresses (or network numbers), or on terminal line names in case of
61 char line[BUFSIZ];
77 * Process the table one line at a time and stop at the first match.
85 while (!match && fgets(line, sizeof(line), fp)) {
87 if (line[end = strlen(line) - 1] != '\n') {
88 syslog(LOG_ERR, "%s: line %d: missing newline or line too long",
92 if (line[0] == '#')
93 continue; /* comment line */
94 while (end > 0 && isspace((unsigned char)line[end - 1]))
96 line[end] = 0; /* strip trailing whitespace */
97 if (line[0] == 0) /* skip blank lines */
100 if (!(perm = strtok_r(line, fs, &foo))
104 syslog(LOG_ERR, "%s: line %d: bad field count",
110 syslog(LOG_ERR, "%s: line %d: bad first field",
122 return (match == 0 || (line[0] == '+'));