got some of the pty actually working in userspace

This commit is contained in:
2026-07-12 03:56:25 -05:00
parent 992ffd1f6b
commit 3c6fd8cb65
16 changed files with 140 additions and 147 deletions

View File

@@ -28,7 +28,7 @@ void exit(int status) {
}
int open(const char* path) {
return syscall1(SYS_OPEN, (uint32_t)path);
return syscall3(SYS_OPEN, (uint32_t)path, 0, 0);
}
int write(int fd, const void* buf, size_t cnt) {