add missing ust_snprintf.h
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 26 Feb 2010 05:30:07 +0000 (00:30 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 26 Feb 2010 05:32:29 +0000 (00:32 -0500)
include/ust_snprintf.h [new file with mode: 0644]

diff --git a/include/ust_snprintf.h b/include/ust_snprintf.h
new file mode 100644 (file)
index 0000000..da63dc6
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef UST_SNPRINTF
+#define UST_SNPRINTF
+
+#include <stdarg.h>
+
+extern int ust_safe_vsnprintf(char *str, size_t n, const char *fmt, va_list ap);
+extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...);
+
+#endif /* UST_SNPRINTF */
This page took 0.023882 seconds and 4 git commands to generate.