"tty.h" explanation?
Posted: Sat Aug 11, 2018 7:48 am
Hello
I was having a look at the "Meaty Skeleton" after building a basic cli style OS from the "Bare Bones" source.
I understand almost all of it now apart from "tty.h":
Where is the source for the four functions defined in "tty.h" located and what does the second line, #define _KERNEL_TTY_H, do?
Thank you in advance
I was having a look at the "Meaty Skeleton" after building a basic cli style OS from the "Bare Bones" source.
I understand almost all of it now apart from "tty.h":
Code: Select all
#ifndef _KERNEL_TTY_H
#define _KERNEL_TTY_H
#include <stddef.h>
void terminal_initialize(void);
void terminal_putchar(char c);
void terminal_write(const char* data, size_t size);
void terminal_writestring(const char* data);
#endif
Thank you in advance