OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [readline/] [examples/] [rlversion.c] - Blame information for rev 1781

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1181 sfurman
/*
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.