documentation bits in comments, no code changes

This commit is contained in:
Denis Vlasenko
2007-09-25 18:35:28 +00:00
parent ea7645bab6
commit 6a5377ac14
4 changed files with 12 additions and 3 deletions

View File

@@ -1253,6 +1253,11 @@ static void win_changed(int nsig)
#undef CTRL
#define CTRL(a) ((a) & ~0x40)
/* Returns:
* -1 on read errors or EOF, or on bare Ctrl-D.
* 0 on ctrl-C,
* >0 length of input string, including terminating '\n'
*/
int read_line_input(const char* prompt, char* command, int maxsize, line_input_t *st)
{
int lastWasTab = FALSE;