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 HAVE_STDLIB_H 34# include <stdlib.h> 35#else 36extern void exit(); 37#endif 38 |
39#ifdef READLINE_LIBRARY 40# include "readline.h" 41#else 42# include <readline/readline.h> 43#endif 44 45main() 46{ 47 printf ("%s\n", rl_library_version ? rl_library_version : "unknown"); 48 exit (0); 49} |