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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [readline/] [examples/] [rlversion.c] - Rev 1781

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

/*
 * rlversion -- print out readline's version number
 */
 
#if defined (HAVE_CONFIG_H)
#  include <config.h>
#endif
 
#include <stdio.h>
#include <sys/types.h>
#include "posixstat.h"
 
#ifdef READLINE_LIBRARY
#  include "readline.h"
#else
#  include <readline/readline.h>
#endif
 
main()
{
	printf ("%s\n", rl_library_version ? rl_library_version : "unknown");
	exit (0);
}
 

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

powered by: WebSVN 2.1.0

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