aboutsummaryrefslogtreecommitdiff
path: root/lib/include/fmt.h
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-03-20 02:34:01 +0100
committerjohannst <johannes.stoelp@gmail.com>2021-03-20 02:34:01 +0100
commitef6a411ce8ff615d65e2be105834c2fdbe557de1 (patch)
tree3336df00ca14b6783486188fed5b4dde5df6cec3 /lib/include/fmt.h
parent3cbf2298b2b3dc24355449131d2e496f8e02b8f5 (diff)
downloaddynld-ef6a411ce8ff615d65e2be105834c2fdbe557de1.tar.gz
dynld-ef6a411ce8ff615d65e2be105834c2fdbe557de1.zip
Split common headers in header/src files.
Diffstat (limited to 'lib/include/fmt.h')
-rw-r--r--lib/include/fmt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/include/fmt.h b/lib/include/fmt.h
new file mode 100644
index 0000000..61215bc
--- /dev/null
+++ b/lib/include/fmt.h
@@ -0,0 +1,8 @@
+// Copyright (c) 2020 Johannes Stoelp
+
+#pragma once
+
+#include <stdarg.h>
+
+int vfmt(char* buf, unsigned long len, const char* fmt, va_list ap);
+int fmt(char* buf, unsigned long len, const char* fmt, ...);