MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_read_line

Function db_read_line

freebsd/ddb/db_lex.c:54–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52static void db_unread_char(int);
53
54int
55db_read_line(void)
56{
57 int i;
58
59 i = db_readline(db_line, sizeof(db_line));
60 if (i == 0)
61 return (0); /* EOI */
62 db_lp = db_line;
63 db_endlp = db_lp + i;
64 return (i);
65}
66
67/*
68 * Simulate a line of input into DDB.

Callers 1

db_command_loopFunction · 0.85

Calls 1

db_readlineFunction · 0.85

Tested by

no test coverage detected