diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-17 19:55:42 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-17 20:04:52 -0400 |
commit | 6ed2cbf8a40013272e0061db2064b059f1894223 (patch) | |
tree | 038934a907fc4a4ed7364dcd768d2450bdf330e7 /lib/libc/include | |
parent | 43d7dba65c01237b1bd49ea9e78f5bb16fc84757 (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.h | 3 |
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 */ |