This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / readline / examples / rlversion.c
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 }
This page took 0.030071 seconds and 4 git commands to generate.