diff options
author | Anton Kling <anton@kling.gg> | 2024-12-09 23:24:25 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-09 23:24:25 +0100 |
commit | 3bb66753076f4037883b7c71ce2fb8e78f8b1194 (patch) | |
tree | fac1f6212c32b9d60c327d82194a54d5b80573d7 /kernel/libc/include | |
parent | 77be4a54bcc65b74c3b10f60a936a71117c3c274 (diff) |
kernel: Add ksnprintf
Diffstat (limited to 'kernel/libc/include')
-rw-r--r-- | kernel/libc/include/stdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/libc/include/stdio.h b/kernel/libc/include/stdio.h index 9dd496e..0c6a0a3 100644 --- a/kernel/libc/include/stdio.h +++ b/kernel/libc/include/stdio.h @@ -1,10 +1,12 @@ #ifndef STDIO_H #define STDIO_H #include <stdarg.h> +#include <stddef.h> void putc(const char c); void delete_characther(void); int kprintf(const char *format, ...); int vkprintf(const char *format, va_list list); +int ksnprintf(char *out, size_t size, const char *format, ...); #endif |