syscalls: start implementing some basic syscalls

This commit is contained in:
2025-06-20 21:59:08 +03:00
parent a9789b7f57
commit 4ccae473ca
8 changed files with 110 additions and 12 deletions
+4
View File
@@ -1,11 +1,15 @@
#ifndef STDIO_H
#define STDIO_H
#include <stddef.h>
#include <stdbool.h>
//TODO: these should be contained in newlib i guess
//but until i implement it let it be here yo
#define EOF (-1)
#define INT_MAX 2147483647
bool print(const char* data, size_t length);
int printf(const char* __restrict, ...);
int putchar(int);
int puts(const char*);