diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-25 18:35:28 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-25 18:35:28 +0000 |
commit | 6a5377ac14bec2f2ae62c4ec085ff3b149cc11ad (patch) | |
tree | bb2200121abb55f06facbe8793c649ae90f53717 /include | |
parent | ea7645bab62c6f68c755cf717662bceaa04858ed (diff) | |
download | busybox-w32-6a5377ac14bec2f2ae62c4ec085ff3b149cc11ad.tar.gz busybox-w32-6a5377ac14bec2f2ae62c4ec085ff3b149cc11ad.tar.bz2 busybox-w32-6a5377ac14bec2f2ae62c4ec085ff3b149cc11ad.zip |
documentation bits in comments, no code changes
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 25b2e4489..407b723b2 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -892,6 +892,12 @@ enum { | |||
892 | FOR_SHELL = DO_HISTORY | SAVE_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, | 892 | FOR_SHELL = DO_HISTORY | SAVE_HISTORY | TAB_COMPLETION | USERNAME_COMPLETION, |
893 | }; | 893 | }; |
894 | line_input_t *new_line_input_t(int flags); | 894 | line_input_t *new_line_input_t(int flags); |
895 | /* Returns: | ||
896 | * -1 on read errors or EOF, or on bare Ctrl-D. | ||
897 | * 0 on ctrl-C, | ||
898 | * >0 length of input string, including terminating '\n' | ||
899 | * [is this true? stores "" in 'command' if return value is 0 or -1] | ||
900 | */ | ||
895 | int read_line_input(const char* prompt, char* command, int maxsize, line_input_t *state); | 901 | int read_line_input(const char* prompt, char* command, int maxsize, line_input_t *state); |
896 | #else | 902 | #else |
897 | int read_line_input(const char* prompt, char* command, int maxsize); | 903 | int read_line_input(const char* prompt, char* command, int maxsize); |