ArvernOS
|
#include <stdbool.h>
Functions | |
unsigned char | arch_getchar (bool blocking) |
void | arch_putchar (char c) |
Architecture-specific code for input/output. Currently, "input" and "output" are not well-defined, although the functions listed below should be used exclusively by the kernel. Input should be "the thing that sends characters typed by a human to the kernel" and output should be "the thing that sends characters from the kernel to a human".
unsigned char arch_getchar | ( | bool | blocking | ) |
Reads a character from an input.
blocking | whether the call to this function should wait for a character or not |
void arch_putchar | ( | char | c | ) |
Prints a character to an output.
c | the character to print |