diff options
| author | tgoodwin <tgoodwin> | 1998-02-18 12:30:53 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:04 +0100 |
| commit | a33cdf2c71aec230b14a0e07317e0a38d743089b (patch) | |
| tree | d45ca0d1236a7e494f8e78a8fa2b28c003f70e1f /system.c | |
| parent | 4682c96c0bd432f41abb6d83b9edf8bce195ce40 (diff) | |
move rc_readline to rdwr.c
Diffstat (limited to 'system.c')
| -rw-r--r-- | system.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,3 +12,9 @@ extern void writeall(int fd, char *buf, size_t remain) { extern int rc_read(int fd, char *buf, size_t n) { return read(fd, buf, n); } + +#if READLINE +extern char *rc_readline(char *prompt) { + return readline(prompt); +} +#endif |