diff options
author | Danny Holman <dholman@gymli.xyz> | 2021-01-17 20:15:17 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.xyz> | 2021-01-17 20:15:17 -0600 |
commit | 50bc91ab29672a2a99cd97c0d560d1ccc69f1cf6 (patch) | |
tree | ab57ce2e5a8f00f9b58fc5ac5ba01594a4d9386b /include/kernel/tty.h | |
parent | 22af367ab783fc579198d8b6eb4e0e4722a30517 (diff) |
include: create basic C library functions
Create the basic C library functions for use inside the kernel.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
Diffstat (limited to 'include/kernel/tty.h')
-rw-r--r-- | include/kernel/tty.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 <stddef.h> + +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 |