URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 393 |
Rev 485 |
Line 661... |
Line 661... |
error:
|
error:
|
return ret;// remove this error stuff (((Cyg_OutputStream *) stream)->get_error() ? EOF : ret);
|
return ret;// remove this error stuff (((Cyg_OutputStream *) stream)->get_error() ? EOF : ret);
|
/* NOTREACHED */
|
/* NOTREACHED */
|
}
|
}
|
|
|
|
int
|
|
sprintf(char* str, const char *fmt, ...)
|
|
{
|
|
va_list args;
|
|
|
|
va_start(args, fmt);
|
|
|
|
return vfnprintf(str, 1024, fmt, args);
|
|
|
|
}
|
|
|
#include "printf.h"
|
#include "printf.h"
|
|
|
// Actual printf function we call, with static buffer of 512 bytes
|
// Actual printf function we call, with static buffer of 512 bytes
|
char PRINTFBUFFER[PRINTFBUFFER_SIZE]; // Declare a global printf buffer
|
char PRINTFBUFFER[PRINTFBUFFER_SIZE]; // Declare a global printf buffer
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.