Lines Matching defs:line
65 static int dir_dev_acc(char *, char *, uid_t, gid_t, mode_t, char *line,
164 char line[MAX_LINELEN], errstring[MAX_LINELEN];
190 while (fgets(line, MAX_LINELEN, fp) != NULL) {
196 if ((ptr = strchr(line, '#')) != NULL)
199 (void) strcpy(saveline, line);
201 console = strtok_r(line, field_delims, &last);
218 ": line %d, invalid entry -- %s\n",
219 lineno, line);
232 ": line %d, invalid mode -- %s\n",
245 ": line %d, empty device list -- %s\n",
246 lineno, line);
330 * check a logindevperm line for a driver list and match this against
335 check_driver_match(char *path, char *line)
365 (void) strcpy(saveline, line);
430 char *line, void (*errmsg)(char *))
472 if (check_driver_match(path, line) == 0) {
553 uid, gid, mode, line, errmsg)) {
788 char line[MAX_MINOR_PERM_LINE];
818 while (fgets(line, MAX_MINOR_PERM_LINE, pfd) != NULL) {
821 if ((cp = strchr(line, '#')) != NULL)
824 if (is_blank(line))
831 cp = line;
1112 * is_blank() returns 1 (true) if a line specified is composed of
1115 * Note. the argument (line) must be null-terminated.
1118 is_blank(char *line)
1120 for (/* nothing */; *line != '\0'; line++)
1121 if (!isspace(*line))