File: rlversion.c

package info (click to toggle)
cle 0.4-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 1,708 kB
  • ctags: 1,223
  • sloc: ansic: 15,354; sh: 2,803; perl: 1,730; makefile: 725
file content (21 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * rlversion -- print out readline's version number
 */

#define READLINE_LIBRARY

#if defined (HAVE_CONFIG_H)
#  include <config.h>
#endif

#include <stdio.h>
#include <sys/types.h>
#include "posixstat.h"

#include "readline.h"

main()
{
	printf ("%s\n", rl_library_version ? rl_library_version : "unknown");
	exit (0);
}