1999-05-28 01:59:23 +00:00
|
|
|
/*
|
|
|
|
* rlversion -- print out readline's version number
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined (HAVE_CONFIG_H)
|
|
|
|
# include <config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include "posixstat.h"
|
|
|
|
|
2000-03-19 21:18:09 +00:00
|
|
|
#ifdef READLINE_LIBRARY
|
|
|
|
# include "readline.h"
|
|
|
|
#else
|
|
|
|
# include <readline/readline.h>
|
|
|
|
#endif
|
1999-05-28 01:59:23 +00:00
|
|
|
|
|
|
|
main()
|
|
|
|
{
|
|
|
|
printf ("%s\n", rl_library_version ? rl_library_version : "unknown");
|
|
|
|
exit (0);
|
|
|
|
}
|