summaryrefslogtreecommitdiff
path: root/tools/src/vsprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/src/vsprintf.h')
-rw-r--r--tools/src/vsprintf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/src/vsprintf.h b/tools/src/vsprintf.h
new file mode 100644
index 0000000..cff6c93
--- /dev/null
+++ b/tools/src/vsprintf.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: MIT */
+
+#ifndef VSPRINTF_H
+#define VSPRINTF_H
+
+#include <stdarg.h>
+
+int vsprintf(char *buf, const char *fmt, va_list args);
+int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
+
+#endif