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