#endif
#ifdef TEST
+#define _PDCLIB_FILEID "stdio/snprintf.c"
+#define SPRINTF_FUNCTION
#include <_PDCLIB_test.h>
#include <string.h>
#include <limits.h>
-#define testprintf( s, n, format, ... ) snprintf( s, n, format, __VA_ARGS__ )
+#define testprintf( s, format, ... ) snprintf( s, 100, format, __VA_ARGS__ )
int main( void )
{
- char buffer[100];
+ char target[100];
#include "printf_testcases.incl"
return TEST_RESULTS;
}