libc: io: implement (v)fprintf

This commit is contained in:
2026-05-31 17:20:57 +01:00
parent c9a87457b8
commit d47260dd13
5 changed files with 48 additions and 17 deletions
+8 -1
View File
@@ -1,6 +1,13 @@
#include "file.h"
#include <stdio.h>
int fprintf(struct __opaque_file *stream, const char *format, ...)
{
return 0;
va_list arg;
va_start(arg, format);
int ret = vfprintf(stream, format, arg);
va_end(arg);
return ret;
}