title: using readline() for completion
body: <p>I've got a question about Readline Library.</p>
  
  <p>I want to know if Readline can autocomplete filename from directories in a C program ?</p>
  
  <p>I've searched and only seen command name completion.</p>
  
  <p>thanks in advance.</p>
  
  <p>EDIT: I've copy filename in an array.
  These as functions that I use :
  in the file rline.c, char *command_generator,char **tab_completion (const char *text, int start, int end),void initialize_readline (). I think I have to use char * filename_completion_function (char *text, int state) ?  When I type on "tab" key, it calls nothing, bind() didn't seem to be used. Do you know if I use right functions ?
  thanks !!</p>