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

Function cmdline_interact

dpdk/lib/cmdline/cmdline.c:180–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void
181cmdline_interact(struct cmdline *cl)
182{
183 char c;
184
185 if (!cl)
186 return;
187
188 c = -1;
189 while (1) {
190 if (cmdline_read_char(cl, &c) <= 0)
191 break;
192 if (cmdline_in(cl, &c, 1) < 0)
193 break;
194 }
195}

Callers 15

mainFunction · 0.85
test_cmdline_fnsFunction · 0.85
mainFunction · 0.85
cmdline_read_from_fileFunction · 0.85
promptFunction · 0.85
promptFunction · 0.85
ethapp_mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
run_cliFunction · 0.85
run_cliFunction · 0.85
promptFunction · 0.85

Calls 2

cmdline_inFunction · 0.85
cmdline_read_charFunction · 0.70

Tested by 3

mainFunction · 0.68
test_cmdline_fnsFunction · 0.68
mainFunction · 0.68