Synopsis
CTL_STATUS_t ctl_cli_gets(CTL_CLI_CONTEXT_t *self,
                          char *buf,
                          size_t len,
                          size_t cursor);
Description

ctl_cli_gets must be implemented by the user to read a line of text to process by the CLI. If ctl_cli_gets returns an error code, the read-eval-print loop is terminated.

Thread Safety

ctl_cli_gets must be implemented to be thread-safe.