feat(io): implement printf and strlen

This commit is contained in:
2026-01-26 01:40:11 +01:00
parent 5cd7aa3cab
commit 889a16d168
5 changed files with 179 additions and 9 deletions

14
include/io.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef RIVOS_IO_H
#define RIVOS_IO_H
#include "../include/types.h"
#define va_list __builtin_va_list
#define va_start __builtin_va_start
#define va_end __builtin_va_end
#define va_arg __builtin_va_arg
void r_printf(const char *fmt, ...);
size_t r_strlen(const char *str);
#endif