blob: 2d73a96c386f909e64b0c5cd2b256aa8a161527f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* rlversion -- print out readline's version number
*/
#define READLINE_LIBRARY
#if defined (HAVE_CONFIG_H)
# include <config.h>
#endif
#include <stdio.h>
#include <sys/types.h>
#include "posixstat.h"
#include "readline.h"
main()
{
printf ("%s\n", rl_library_version ? rl_library_version : "unknown");
exit (0);
}
|