quark/src/kernel/lib/stdio.h
Arnau Camprubí 109b5b17a1 Added debug_printf()
The debug_printf() function works just as any printf-like function. It prints to the serial port using ANSI coloring. Also, debug_vprintf() was implemented, which takes arguments as a va_list instead of as variadic arguments.
2022-08-07 21:58:36 +02:00

13 líneas
273 B
C

#pragma once
#include <stdarg.h>
void puts(char *str);
void putc(char c);
void serial_putc(char c);
void vprintf(char *fmt, va_list args);
void printf(char *fmt, ...);
void serial_vprintf(char *fmt, va_list args);
void serial_printf(char *fmt, ...);
void clear_screen();