1/*
2 * rlversion -- print out readline's version number
3 */
4
5/* Copyright (C) 1987-2002 Free Software Foundation, Inc.
6
7 This file is part of the GNU Readline Library, a library for
8 reading lines of text with interactive input and history editing.
--- 16 unchanged lines hidden (view full) ---
25#if defined (HAVE_CONFIG_H)
26# include <config.h>
27#endif
28
29#include <stdio.h>
30#include <sys/types.h>
31#include "posixstat.h"
32
33#ifdef READLINE_LIBRARY
34# include "readline.h"
35#else
36# include <readline/readline.h>
37#endif
38
39main()
40{
41 printf ("%s\n", rl_library_version ? rl_library_version : "unknown");
42 exit (0);
43}
2 * rlversion -- print out readline's version number
3 */
4
5/* Copyright (C) 1987-2002 Free Software Foundation, Inc.
6
7 This file is part of the GNU Readline Library, a library for
8 reading lines of text with interactive input and history editing.
--- 16 unchanged lines hidden (view full) ---
25#if defined (HAVE_CONFIG_H)
26# include <config.h>
27#endif
28
29#include <stdio.h>
30#include <sys/types.h>
31#include "posixstat.h"
32
33#ifdef READLINE_LIBRARY
34# include "readline.h"
35#else
36# include <readline/readline.h>
37#endif
38
39main()
40{
41 printf ("%s\n", rl_library_version ? rl_library_version : "unknown");
42 exit (0);
43}