From ca1e725b0dc9b10997897dd2ac6d44028601d9bb Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 19 Apr 2021 19:06:28 +0200 Subject: Init sources --- src/libc/stdio.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/libc/stdio.h (limited to 'src/libc/stdio.h') diff --git a/src/libc/stdio.h b/src/libc/stdio.h new file mode 100644 index 0000000..d4bd6b6 --- /dev/null +++ b/src/libc/stdio.h @@ -0,0 +1,21 @@ +#ifndef STDIO_H +#define STDIO_H + +#include "drivers/framebuffer.h" + +/** + * Print a char* in the framebuffer + */ +void print(char*); + +/** + * Print a char in the framebuffer + */ +void printc(char*,VIDEO_COLORS c); + +/** + * Print an integer using itoa() + */ +void printi(int i); + +#endif \ No newline at end of file -- cgit v1.2.3