Add read support for mips

This commit is contained in:
Lucas Schumacher
2025-04-14 18:01:31 -04:00
parent 8a01908b1c
commit 6a51f8851b
3 changed files with 15 additions and 5 deletions

2
sys.h
View File

@@ -6,9 +6,7 @@ void exit(int8_t status);
#define STDIO 1
#define STDERR 2
intptr_t write(int32_t fd, const void* buf, intptr_t size);
#if defined(__x86_64__) || defined(__aarch64__)
intptr_t read(int32_t fd, const void* buf, intptr_t size);
#endif
uint32_t fork();