Home
last modified time | relevance | path

Searched refs:history_lines (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/lib/efcode/engine/
H A Dinteractive.c399 static char *history_lines[MAX_LINE_BUF]; variable
408 history_lines[num_lines++] = STRDUP(line); in add_line_to_history()
410 FREE(history_lines[0]); in add_line_to_history()
412 history_lines[i] = history_lines[i + 1]; in add_line_to_history()
413 history_lines[MAX_LINE_BUF - 1] = STRDUP(line); in add_line_to_history()
636 p = history_lines[cur_line]; in read_line()
639 strcpy(buf, history_lines[cur_line]); in read_line()
659 p = history_lines[cur_line]; in read_line()
715 do_emit_str(env, history_lines[i], in read_line()
716 strlen(history_lines[i])); in read_line()