}
/* }}} */
-/* {{{ proto string readline([string prompt]) */
-
+/* {{{ proto string readline([string prompt])
+ Reads a line */
PHP_FUNCTION(readline)
{
char *result;
}
/* }}} */
-/* {{{ proto array|long|string readline_info([string varname][, string newvalue ])
- gets/sets various internal readline variables. */
+/* {{{ proto mixed readline_info([string varname] [, string newvalue])
+ Gets/sets various internal readline variables. */
#define SAFE_STRING(s) ((s)?(s):"")
}
/* }}} */
-/* {{{ proto void readline_add_history([string prompt]) */
-
+/* {{{ proto void readline_add_history([string prompt])
+ Adds a line to the history */
PHP_FUNCTION(readline_add_history)
{
pval **arg;
}
/* }}} */
-/* {{{ proto void readline_clear_history() */
-
+/* {{{ proto void readline_clear_history(void)
+ Clears the history */
PHP_FUNCTION(readline_clear_history)
{
int ac = ARG_COUNT(ht);
}
/* }}} */
-/* {{{ proto array readline_list_history() */
-
+/* {{{ proto array readline_list_history(void)
+ Lists the history */
PHP_FUNCTION(readline_list_history)
{
HIST_ENTRY **history;
}
/* }}} */
-/* {{{ proto int readline_read_history([string filename][,int from][,int to]) */
-
+/* {{{ proto int readline_read_history([string filename] [, int from] [,int to])
+ Reads the history */
PHP_FUNCTION(readline_read_history)
{
pval **arg;
}
/* }}} */
-/* {{{ proto int readline_write_history([string filename]) */
-
+/* {{{ proto int readline_write_history([string filename])
+ Writes the history */
PHP_FUNCTION(readline_write_history)
{
pval **arg;
}
/* }}} */
-/* {{{ proto void readline_completion_function(string funcname) */
-
-char *test[] = { "bleibt", "da", "helfen", "keine", "pillen", "und" , "heissen", "umsclaege","hallo", "pallo", "thies", "ist", "doof", "tubu", "tata",0 };
+/* {{{ proto void readline_completion_function(string funcname)
+ Readline completion function? */
+char *test[] = { "bleibt", "da", "helfen", "keine", "pillen", "und" , "heissen", "umschlaege","hallo", "pallo", "egon", "thies", "ist", "doof", "tubu", "tata", 0 };
static char *_readline_command_generator(char *text,int state)
{