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

Function main

dpdk/app/test-cmdline/cmdline_test.c:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "cmdline_test.h"
23
24int
25main(int __rte_unused argc, char __rte_unused ** argv)
26{
27 struct cmdline *cl;
28
29 cl = cmdline_stdin_new(main_ctx, "CMDLINE_TEST>>");
30 if (cl == NULL) {
31 return -1;
32 }
33 cmdline_interact(cl);
34 cmdline_stdin_exit(cl);
35
36 return 0;
37}

Callers

nothing calls this directly

Calls 3

cmdline_stdin_newFunction · 0.85
cmdline_interactFunction · 0.85
cmdline_stdin_exitFunction · 0.85

Tested by

no test coverage detected