summaryrefslogtreecommitdiff
path: root/kernel/io.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel: iterate over string with indexDanny Holman2021-01-201-6/+6
| | | | | | | | Iterate over a formatted string with an index and strlen instead of using a non-const pointer. The latter method may result in unsafe memory conditions. Signed-off-by: Danny Holman <dholman@gymli.xyz>
* kernel: implement a basic printf functionDanny Holman2021-01-171-0/+72
Implement a basic printf function using primitives from the TTY library. Signed-off-by: Danny Holman <dholman@gymli.xyz>