#include <stdio.h>
#include <stdlib.h>
#include <readline/readline.h>
#include <readline/history.h>
Go to the source code of this file.
|
char * | cmd [] ={ "hello", "world", "hell" ,"word", "quit", " " } |
|
◆ dupstr()
char * dupstr |
( |
char * |
s | ) |
|
◆ main()
◆ my_completion()
static char ** my_completion |
( |
const char * |
text, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
|
static |
◆ my_generator()
char * my_generator |
( |
const char * |
text, |
|
|
int |
state |
|
) |
| |
◆ xmalloc()
void * xmalloc |
( |
int |
size | ) |
|
◆ cmd
char* cmd[] ={ "hello", "world", "hell" ,"word", "quit", " " } |