3 /* snprintf( char *, size_t, 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.
14 int snprintf( char * _PDCLIB_restrict s, size_t n, const char * _PDCLIB_restrict format, ...)
18 va_start( ap, format );
19 rc = vsnprintf( s, n, format, ap );
27 #include <_PDCLIB_test.h>
32 #define testprintf( s, n, format, ... ) snprintf( s, n, format, __VA_ARGS__ )
34 #define TESTCASE_SPRINTF( x ) TESTCASE( x )
39 #include "printf_testcases.incl"