diff options
Diffstat (limited to 'src/user/lib/libc/include/readline.h')
-rw-r--r-- | src/user/lib/libc/include/readline.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/user/lib/libc/include/readline.h b/src/user/lib/libc/include/readline.h index 9fa2ee7..b5e0a1a 100644 --- a/src/user/lib/libc/include/readline.h +++ b/src/user/lib/libc/include/readline.h @@ -13,9 +13,11 @@ typedef struct _rdln_hist { #ifdef __cplusplus extern "C" { namespace libc { #endif -char *readln(); -char* freadln(FILE *f); // minimal line-reading function. user must free the returned value. + + char* freadline(FILE *f, readline_history *h); + + #ifdef __cplusplus } } #endif |