3 /* sprintf( char *, const char *, ... )
5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
15 int sprintf( char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, ...)
19 va_start( ap, format );
20 rc = vsnprintf( s, SIZE_MAX, format, ap ); /* TODO: replace with non-checking call */
28 #include <_PDCLIB_test.h>
33 #define testprintf( s, n, format, ... ) sprintf( s, format, __VA_ARGS__ )
38 #include "printf_testcases.incl"