Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

readline.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

char * readline (char *s, int n)
 A simple version of the GNU readline function.


Function Documentation

char* readline char *    s,
int    n
 

A simple version of the GNU readline function.

Only the most basic editing functions are implemented.

Parameters:
s  pointer to string to read into
n  maximum length (including \0)
Returns:
pointer to string
Bug:
there's still a bug when pressing cursor up or down while the history buffer is empty (try it right after the program is started - it will copy garbage to the current line)

Definition at line 85 of file readline.cpp.

References addline(), getline(), and numlines.


Generated on Sun Aug 4 21:47:40 2002 for k/os mp3v2 by doxygen1.2.16