OILS / build / detect-readline.c View on Github | oils.pub

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