aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/printf.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/printf.h')
-rw-r--r--kernel/include/printf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/include/printf.h b/kernel/include/printf.h
new file mode 100644
index 0000000..4569827
--- /dev/null
+++ b/kernel/include/printf.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stdlib.h>
+#include <stdarg.h>
+
+int snprintf(char* s, size_t n, const char* format, ...);
+int vsnprintf(char* s, size_t n, const char* format, va_list arg);
+