DPDK 22.11.5
|
#include <rte_common.h>
#include <rte_compat.h>
#include <cmdline_rdline.h>
#include <cmdline_parse.h>
Go to the source code of this file.
Functions | |
int | cmdline_poll (struct cmdline *cl) |
Command line API
Definition in file cmdline.h.
int cmdline_poll | ( | struct cmdline * | cl | ) |
This function is nonblocking equivalent of cmdline_interact()
. It polls cl for one character and interpret it. If return value is RDLINE_EXITED it mean that cmdline_quit()
was invoked.
cl | The command line object. |