* Simulate a line of input into DDB. */
| 68 | * Simulate a line of input into DDB. |
| 69 | */ |
| 70 | void |
| 71 | db_inject_line(const char *command) |
| 72 | { |
| 73 | |
| 74 | strlcpy(db_line, command, sizeof(db_line)); |
| 75 | db_lp = db_line; |
| 76 | db_endlp = db_lp + strlen(command); |
| 77 | } |
| 78 | |
| 79 | /* |
| 80 | * In rare cases, we may want to pull the remainder of the line input |
no test coverage detected