aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-17 19:55:42 -0400
committerIan Moffett <ian@osmora.org>2024-05-17 20:04:52 -0400
commit6ed2cbf8a40013272e0061db2064b059f1894223 (patch)
tree038934a907fc4a4ed7364dcd768d2450bdf330e7 /lib/libc/include
parent43d7dba65c01237b1bd49ea9e78f5bb16fc84757 (diff)
libc: Add initial vsnprintf() code
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/stdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/include/stdio.h b/lib/libc/include/stdio.h
index b19230c..e701de0 100644
--- a/lib/libc/include/stdio.h
+++ b/lib/libc/include/stdio.h
@@ -31,6 +31,7 @@
#define _STDIO_H
#include <stddef.h>
+#include <stdarg.h>
#define EOF (int)-1
@@ -64,4 +65,6 @@ int puts(const char *s);
int fflush(FILE *stream);
int fclose(FILE *stream);
+int vsnprintf(char *s, size_t size, const char *fmt, va_list ap);
+
#endif /* !_STDIO_H */