summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/com32/lib/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/com32/lib/vsprintf.c')
-rw-r--r--contrib/syslinux-4.02/com32/lib/vsprintf.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/com32/lib/vsprintf.c b/contrib/syslinux-4.02/com32/lib/vsprintf.c
new file mode 100644
index 0000000..8df6213
--- /dev/null
+++ b/contrib/syslinux-4.02/com32/lib/vsprintf.c
@@ -0,0 +1,11 @@
+/*
+ * vsprintf.c
+ */
+
+#include <stdio.h>
+#include <unistd.h>
+
+int vsprintf(char *buffer, const char *format, va_list ap)
+{
+ return vsnprintf(buffer, ~(size_t) 0, format, ap);
+}