aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-04 17:53:59 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-04 17:53:59 +0100
commit046341e8bd91a2a2c0d44b40217fa1c5ce1dd949 (patch)
tree855422f962f9aab6727f96559c2cc3e52b2b397d /include
parent8c52f803976c79812a75b9317107cc0a8fb94c7f (diff)
downloadbusybox-w32-046341e8bd91a2a2c0d44b40217fa1c5ce1dd949.tar.gz
busybox-w32-046341e8bd91a2a2c0d44b40217fa1c5ce1dd949.tar.bz2
busybox-w32-046341e8bd91a2a2c0d44b40217fa1c5ce1dd949.zip
ash: optional support for $TMOUT variable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index a0e23697c..6358e654a 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1393,12 +1393,14 @@ enum {
1393}; 1393};
1394line_input_t *new_line_input_t(int flags) FAST_FUNC; 1394line_input_t *new_line_input_t(int flags) FAST_FUNC;
1395/* So far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */ 1395/* So far static: void free_line_input_t(line_input_t *n) FAST_FUNC; */
1396/* maxsize must be >= 2. 1396/*
1397 * maxsize must be >= 2.
1397 * Returns: 1398 * Returns:
1398 * -1 on read errors or EOF, or on bare Ctrl-D, 1399 * -1 on read errors or EOF, or on bare Ctrl-D,
1399 * 0 on ctrl-C (the line entered is still returned in 'command'), 1400 * 0 on ctrl-C (the line entered is still returned in 'command'),
1400 * >0 length of input string, including terminating '\n' 1401 * >0 length of input string, including terminating '\n'
1401 */ 1402 */
1403/* NB: ash has timeout code which can be moved into read_line_input, if needed */
1402int read_line_input(const char* prompt, char* command, int maxsize, line_input_t *state) FAST_FUNC; 1404int read_line_input(const char* prompt, char* command, int maxsize, line_input_t *state) FAST_FUNC;
1403#else 1405#else
1404#define MAX_HISTORY 0 1406#define MAX_HISTORY 0