Handle panic through kvprintf instead
This commit is contained in:
parent
e30cc4c3d0
commit
5596841482
3 changed files with 13 additions and 6 deletions
|
|
@ -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, ...);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue