diff options
Diffstat (limited to 'src/kernel/lib/stdio/vprintf.c')
-rw-r--r-- | src/kernel/lib/stdio/vprintf.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/kernel/lib/stdio/vprintf.c b/src/kernel/lib/stdio/vprintf.c deleted file mode 100644 index 5405309..0000000 --- a/src/kernel/lib/stdio/vprintf.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <lib/lib.h> -#include <lib/stdio.h> -#include <lib/stdlib.h> -#include <stdint.h> - -// TODO: Use global formatting function -// TODO: Fix fixed buffer size -void vprintf(const char *fmt, va_list args) -{ - char buf[1024]; - memset(buf, 0, 1024); - vsprintf(buf, fmt, args); - - for (u32 i = 0; i < strlen(buf); i++) - putch(buf[i]); -}
\ No newline at end of file |