summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomas Heinrich2010-03-09 14:09:24 +0100
committerDenys Vlasenko2010-03-09 14:09:24 +0100
commitd2b04050c0a9a15e29e15cbf9c487db93d07c46e (patch)
tree19929bed97b4e6ddc028465f9fd0a7b3a5d28b5f /include
parentf15620c3774c164ee6c1e2fbf9dd481b606a95a1 (diff)
downloadbusybox-d2b04050c0a9a15e29e15cbf9c487db93d07c46e.zip
busybox-d2b04050c0a9a15e29e15cbf9c487db93d07c46e.tar.gz
lineedit: invalid unicode characters are replaced with CONFIG_SUBST_WCHAR
function old new delta read_key_ungets - 50 +50 lineedit_read_key 223 252 +29 Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index ead1020..fccc816 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1277,6 +1277,7 @@ enum {
* on first call.
*/
int64_t read_key(int fd, char *buffer) FAST_FUNC;
+void read_key_ungets(char *buffer, const char *str, unsigned len) FAST_FUNC;
#if ENABLE_FEATURE_EDITING