DPDK
16.04.0
|
#include <termios.h>
#include <cmdline_rdline.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. |