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

Subversion Repositories or1k

[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [readline/] [examples/] [rlversion.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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