réplica de
https://github.com/Arnau478/quark.git
synced 2024-05-20 04:46:30 +02:00
Arnau Camprubí
109b5b17a1
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.
13 líneas
273 B
C
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();
|