Lines Matching defs:line

32  * operates in both command line mode to handle user or script invoked
2061 * If no classes were given on the command line, then return DEVFSADM_SUCCESS.
2063 * matches one of the device classes given on the command line,
4165 * command line arguments RM_PRE RM_POST RM_PRE && RM_POST &&
4213 * remove structure matches a class given on the command line
5762 * command line version of devfsadm running, since it may have changed
5993 char line[1024], *cp;
6004 while (fgets(line, sizeof (line), fp) != NULL) {
6007 if ((cp = strchr(line, '#')) != NULL)
6010 if (is_blank(line))
6013 if (sscanf(line, "%1024s%lu", driver, &major) != 2) {
6038 char line[PATH_MAX+1];
6098 while (fgets(line, sizeof (line), fp) != NULL) {
6104 cp = strchr(line, '\n');
6108 vprint(RSRV_MID, "Reserve file: line %d: %s\n", linenum, line);
6111 for (cp = line; *cp == ' ' || *cp == '\t'; cp++)
6115 vprint(RSRV_MID, "Skipping line: '%s'\n", line);
6116 continue; /* blank line or comment line */
6150 char line[MAX_DEVLINK_LINE], *cp;
6202 while (fgets(line, sizeof (line), fp) != NULL) {
6204 i = strlen(line);
6205 if (line[i-1] == NEWLINE) {
6206 line[i-1] = '\0';
6207 } else if (i == sizeof (line-1)) {
6209 devlinktab_file, sizeof (line)-1);
6216 if ((cp = strchr(line, '#')) != NULL)
6219 if (is_blank(line))
6222 vprint(DEVLINK_MID, "table: %s line %d: '%s'\n",
6223 devlinktab_file, devlinktab_line, line);
6226 if (split_devlinktab_entry(line, &selector, &p_link,
6288 * For a single line entry in devlink.tab, split the line into fields
6914 * given on command line. INFO_MID is always printed.
7268 * line number: ignoring line number error
7373 char line[MAX_LDEV_LINE];
7426 while (fgets(line, MAX_LDEV_LINE, fp) != NULL) {
7430 if ((cp = strchr(line, '#')) != NULL)
7433 if ((console = strtok_r(line, LDEV_DELIMS, &lasts)) == NULL)
7434 continue; /* Blank line */
7438 continue; /* Malformed line */
7577 char line[256];
7617 while (fgets(line, sizeof (line), afd) != NULL) {
7620 if ((cp = strchr(line, '#')) != NULL)
7623 if (is_blank(line))
7625 cp = line;
8433 * is_blank() returns 1 (true) if a line specified is composed of
8436 * Note. the argument (line) must be null-terminated.
8439 is_blank(char *line)
8441 for (/* nothing */; *line != '\0'; line++)
8442 if (!isspace(*line))