diff options
author | Anton Kling <anton@kling.gg> | 2024-12-10 12:23:05 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-10 12:23:05 +0100 |
commit | bcca3d183930eeaf3d024476f39d1d8fccf2ebab (patch) | |
tree | af9a4e256e569db89227026748dcba02e1fc8fa2 /kernel/libc/include | |
parent | 0a2e1f076786ff59bcc1fb6fdb066c0db2a5d77f (diff) |
kernel: Add kbnprintf
Like snprintf but without null termination
Diffstat (limited to 'kernel/libc/include')
-rw-r--r-- | kernel/libc/include/stdio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/libc/include/stdio.h b/kernel/libc/include/stdio.h index 0c6a0a3..60808dd 100644 --- a/kernel/libc/include/stdio.h +++ b/kernel/libc/include/stdio.h @@ -8,5 +8,6 @@ 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, ...); +int kbnprintf(char *out, size_t size, const char *format, ...); #endif |