Add initial snapshot of runtime crt.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-crt/stdio/snprintf.c b/mingw-w64-crt/stdio/snprintf.c
new file mode 100755
index 0000000..7aacaad
--- /dev/null
+++ b/mingw-w64-crt/stdio/snprintf.c
@@ -0,0 +1,13 @@
+#include <stdarg.h>

+#include <stdio.h>

+

+int snprintf(char* buffer, size_t n, const char* format, ...)

+{

+  int retval;

+  va_list argptr;

+         

+  va_start( argptr, format );

+  retval = _vsnprintf( buffer, n, format, argptr );

+  va_end( argptr );

+  return retval;

+}