Revision 15410,
372 bytes
checked in by ghudson, 24 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r15409,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /* |
---|
2 | * rlversion -- print out readline's version number |
---|
3 | */ |
---|
4 | |
---|
5 | #if defined (HAVE_CONFIG_H) |
---|
6 | # include <config.h> |
---|
7 | #endif |
---|
8 | |
---|
9 | #include <stdio.h> |
---|
10 | #include <sys/types.h> |
---|
11 | #include "posixstat.h" |
---|
12 | |
---|
13 | #ifdef READLINE_LIBRARY |
---|
14 | # include "readline.h" |
---|
15 | #else |
---|
16 | # include <readline/readline.h> |
---|
17 | #endif |
---|
18 | |
---|
19 | main() |
---|
20 | { |
---|
21 | printf ("%s\n", rl_library_version ? rl_library_version : "unknown"); |
---|
22 | exit (0); |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.