summaryrefslogtreecommitdiffstats
path: root/lib/printf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/printf.h')
-rw-r--r--lib/printf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/printf.h b/lib/printf.h
new file mode 100644
index 0000000..a132b39
--- /dev/null
+++ b/lib/printf.h
@@ -0,0 +1,12 @@
+#ifndef _JOVE_LIB_PRINTF_H
+#define _JOVE_LIB_PRINTF_H 1
+
+#include <stdarg.h>
+#include <stddef.h>
+
+int kprintf(const char *fmt, ...);
+int kvprintf(const char *fmt, va_list ap);
+
+int vsnprintf(char *str, size_t size, const char *fmt, va_list ap);
+
+#endif