Handle panic through kvprintf instead

This commit is contained in:
Imbus 2025-09-02 02:37:00 +02:00
parent e30cc4c3d0
commit 5596841482
3 changed files with 13 additions and 6 deletions

View file

@ -1,8 +1,10 @@
#ifndef STDIO_H
#define STDIO_H
int stdout_puts(char *s, int len, void *unused);
#include <stdarg.h>
int kprintf(const char *restrict format, ...);
int kvprintf(const char *fmt, va_list ap);
// int fprintf(FILE *restrict stream, const char *restrict format, ...);
// int dprintf(int fd, const char *restrict format, ...);