From 6ed2cbf8a40013272e0061db2064b059f1894223 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 17 May 2024 19:55:42 -0400 Subject: libc: Add initial vsnprintf() code Signed-off-by: Ian Moffett --- lib/libc/include/stdio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libc/include') 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 +#include #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 */ -- cgit v1.2.3