URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 107 |
Rev 1765 |
/* IMPORTANT: leave this comment in the first line of this source file. */
|
/* IMPORTANT: leave this comment in the first line of this source file. */
|
/* this will guarantee that line 1 contains no code. */
|
/* this will guarantee that line 1 contains no code. */
|
|
|
#include <stdio.h>
|
#include <stdio.h>
|
|
|
#ifdef PROTOTYPES
|
#ifdef PROTOTYPES
|
int
|
int
|
main(int argc, char **argv)
|
main(int argc, char **argv)
|
#else
|
#else
|
int
|
int
|
main(argc, argv)
|
main(argc, argv)
|
int argc;
|
int argc;
|
char **argv;
|
char **argv;
|
#endif
|
#endif
|
{
|
{
|
int i = 1;
|
int i = 1;
|
#ifdef usestubs
|
#ifdef usestubs
|
set_debug_traps();
|
set_debug_traps();
|
breakpoint();
|
breakpoint();
|
#endif
|
#endif
|
|
|
if (argc <= 0 || argc > 8)
|
if (argc <= 0 || argc > 8)
|
return -1;
|
return -1;
|
while (i < argc)
|
while (i < argc)
|
printf ("%s ", argv[i++]);
|
printf ("%s ", argv[i++]);
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.