Skip to content
Prev Previous commit
Next Next commit
add definitions for stdin,stdout and stderr
  • Loading branch information
Carlos-Ariel Vanegas committed Mar 18, 2026
commit 9aca1171baffa0dc2fc536430ab47ec1f58835b4
3 changes: 3 additions & 0 deletions src/host/c/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ typedef struct {
size_t (*write)(char *txt, size_t len);
size_t (*read)(char *buf, size_t len);
} FILE;
extern FILE* stdin;
extern FILE* stdout;
extern FILE* stderr;
extern int errno;
extern char kernel_heap[];
extern struct heap_chunk *heap;
Expand Down