Replace jumbo pattern match with gdb_expect_list().
[deliverable/binutils-gdb.git] / readline / examples / rlversion.c
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 }
This page took 0.029366 seconds and 4 git commands to generate.