From eed77bd2970a00d1394ed027ceca5b646e4671ce Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Jun 2020 18:31:46 +0200 Subject: Started rewrite --- src/kernel/lib/stdio/vprintf.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/kernel/lib/stdio/vprintf.c (limited to 'src/kernel/lib/stdio/vprintf.c') 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 -#include -#include -#include - -// 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 -- cgit v1.2.3