From 611f098bc38256adf2efadbc0b98138a5b4489de Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 17 Jan 2021 20:18:37 -0600 Subject: kernel: implement a basic printf function Implement a basic printf function using primitives from the TTY library. Signed-off-by: Danny Holman --- include/kernel/io.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 include/kernel/io.h (limited to 'include') diff --git a/include/kernel/io.h b/include/kernel/io.h new file mode 100644 index 0000000..bef87af --- /dev/null +++ b/include/kernel/io.h @@ -0,0 +1,10 @@ +#ifndef IO_H +#define IO_H + +#include +#include + +int vprintf(const char *fmt, va_list args); +int printf(const char *fmt, ...); + +#endif -- cgit v1.2.3