Fix STDIN and STDOUT

This commit is contained in:
2025-04-26 13:09:33 -04:00
parent 0caa6320b1
commit 39e797f937
2 changed files with 9 additions and 8 deletions

3
sys.h
View File

@@ -3,7 +3,8 @@
void exit(int8_t status);
#define STDIO 1
#define STDIN 0
#define STDOUT 1
#define STDERR 2
intptr_t write(int32_t fd, const void* buf, intptr_t size);
intptr_t read(int32_t fd, const void* buf, intptr_t size);