MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / prompt_init

Function prompt_init

extern/editline/src/prompt.c:119–132  ·  view source on GitHub ↗

prompt_init(): * Initialize the prompt stuff */

Source from the content-addressed store, hash-verified

117 * Initialize the prompt stuff
118 */
119protected int
120prompt_init(EditLine *el)
121{
122
123 el->el_prompt.p_func = prompt_default;
124 el->el_prompt.p_pos.v = 0;
125 el->el_prompt.p_pos.h = 0;
126 el->el_prompt.p_ignore = '\0';
127 el->el_rprompt.p_func = prompt_default_r;
128 el->el_rprompt.p_pos.v = 0;
129 el->el_rprompt.p_pos.h = 0;
130 el->el_rprompt.p_ignore = '\0';
131 return 0;
132}
133
134
135/* prompt_end():

Callers 1

el_init_fdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected