#include int main(int argc, char **argv) { while (1) { char *ret = readline("input:"); if (!ret) break; printf("got: %s\n", ret); } return 0; }