| 1 | /* 'info readline' shows an example with these three headers */ |
| 2 | |
| 3 | /* clang-format off */ |
| 4 | #include <stdio.h> /* readline needs this, issue #21 */ |
| 5 | #include <readline/readline.h> |
| 6 | #include <readline/history.h> |
| 7 | /* clang-format on */ |
| 8 | |
| 9 | int main(void) { |
| 10 | char *line = readline(""); |
| 11 | |
| 12 | return 0; |
| 13 | } |