summaryrefslogtreecommitdiffstats
path: root/lib/readline_simple.c
Commit message (Collapse)AuthorAgeFilesLines
* readline_simple: use len instead of CONFIG_CBSIZEGaël PORTAY2017-11-171-1/+1
| | | | | | | | It is safier to use the length given in parameter instead of using the preprocessor CONFIG_CBSIZE value. Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* readline_simple: remove obsolete documentationGaël PORTAY2017-08-151-3/+0
| | | | | | | | | | The readline function does not return timed-out anymore since the commit: be5d13bcb readline_simple: drop unusable u-boot legacy stuff Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* readline_simple: return -1 if getc failsGaël PORTAY2017-08-151-0/+2
| | | | | | | | | | The getc function may return an errno code if an error happens. This patch prevents readline from printing a non printable character and from looping to infinity and beyong. Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* readline_simple: drop unusable u-boot legacy stuffAntony Pavlov2017-04-281-13/+0
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* stdio: rename getc to getcharSascha Hauer2016-04-151-1/+1
| | | | | | | The function we have implemented as getc has the semantics of the standard function getchar, so rename it accorgingly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove undefined WATCHDOG_RESETSascha Hauer2011-12-191-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove unused watchdog headerSascha Hauer2011-12-151-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* implement TAB completionSascha Hauer2008-03-011-9/+1
|
* shell info addedJuergen Beisert2007-10-191-0/+16
|
* remove putc referencesJuergen Beisert2007-10-171-3/+3
|
* svn_rev_643Sascha Hauer2007-07-051-0/+142
structure cleanup