migrate: to gitea

This commit is contained in:
2026-07-30 09:56:33 +05:30
commit c7443a5bb0
37 changed files with 734 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#include <stdio.h>
#if defined(__is_libk)
#include <kernel/tty.h>
#endif
int putchar(int ic) {
#if defined(__is_libk)
char c = (char) ic;
terminal_write(&c, sizeof(c));
#else
// TODO: Implement stdio and the write system call.
#endif
return ic;
}