]> pd.if.org Git - pdclib/blobdiff - functions/stdio/snprintf.c
Comment cleanups.
[pdclib] / functions / stdio / snprintf.c
index 6dd39671fdf33647fb4b5d97f9022c3dad547372..dbb34fceee038c409c431a9b11858e6ab92897cb 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* snprintf( char *, size_t, const char *, ... )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -35,6 +33,8 @@ int main( void )
 {
     char target[100];
 #include "printf_testcases.h"
+    TESTCASE( snprintf( NULL, 0, "foo" ) == 3 );
+    TESTCASE( snprintf( NULL, 0, "%d", 100 ) == 3 );
     return TEST_RESULTS;
 }