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

Function db_get_line

freebsd/ddb/db_lex.c:86–91  ·  view source on GitHub ↗

* In rare cases, we may want to pull the remainder of the line input * verbatim, rather than lexing it. For example, when assigning literal * values associated with scripts. In that case, return a static pointer to * the current location in the input buffer. The caller must be aware that * the contents are not stable if other lex/input calls are made. */

Source from the content-addressed store, hash-verified

84 * the contents are not stable if other lex/input calls are made.
85 */
86char *
87db_get_line(void)
88{
89
90 return (db_lp);
91}
92
93static void
94db_flush_line()

Callers 2

db_script_cmdFunction · 0.85
route_ddb.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected