Embedded TCP/IP stack
4.7.0
|
fnet_bool_t fnet_shell_is_ctrlc | ( | fnet_shell_desc_t | desc | ) |
Detects if the [Ctrl]+[c] is received.
0
if [Ctrl]+[c] is not received/pressed.1
if [Ctrl]+[c] is received/pressed.This function detects if the [Ctrl]+[c] command is received.
It can be used by blocking shell commands to detect that a user wants to terminate the command activity.