From 50bc91ab29672a2a99cd97c0d560d1ccc69f1cf6 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 17 Jan 2021 20:15:17 -0600 Subject: include: create basic C library functions Create the basic C library functions for use inside the kernel. Signed-off-by: Danny Holman --- include/kernel/tty.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/kernel/tty.h (limited to 'include/kernel/tty.h') diff --git a/include/kernel/tty.h b/include/kernel/tty.h new file mode 100644 index 0000000..194b7c7 --- /dev/null +++ b/include/kernel/tty.h @@ -0,0 +1,11 @@ +#ifndef KERNEL_TTY +#define KERNEL_TTY + +#include + +void tty_init(void); +void tty_putchar(char c); +void tty_write(const char *data, size_t size); +void tty_writestring(const char *data); + +#endif -- cgit v1.2.3