aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-01-18 00:31:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2022-01-18 00:36:42 +0100
commit1e825acf8d715fe49af040cb02f9e96c26955832 (patch)
tree1ba246aca6ab29b154dd14e61e96fafd6bab475e /include
parent8ad2acf352d790d0bdd792b8e126d58a088451f3 (diff)
downloadbusybox-w32-1e825acf8d715fe49af040cb02f9e96c26955832.tar.gz
busybox-w32-1e825acf8d715fe49af040cb02f9e96c26955832.tar.bz2
busybox-w32-1e825acf8d715fe49af040cb02f9e96c26955832.zip
libbb: shrink lineedit_read_key()
function old new delta lineedit_read_key 237 231 -6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index b45ce91c5..8e3b7ae8e 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1900,6 +1900,8 @@ enum {
1900 * (unless fd is in non-blocking mode), 1900 * (unless fd is in non-blocking mode),
1901 * subsequent reads will time out after a few milliseconds. 1901 * subsequent reads will time out after a few milliseconds.
1902 * Return of -1 means EOF or error (errno == 0 on EOF). 1902 * Return of -1 means EOF or error (errno == 0 on EOF).
1903 * Nonzero errno is not preserved across the call:
1904 * if there was no error, errno will be cleared to 0.
1903 * buffer[0] is used as a counter of buffered chars and must be 0 1905 * buffer[0] is used as a counter of buffered chars and must be 0
1904 * on first call. 1906 * on first call.
1905 * timeout: 1907 * timeout: