This commit is contained in:
nub31
2026-03-16 18:10:03 +01:00
parent bdeb2c4d73
commit bc65c3f4fd
7 changed files with 55 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
module sys
export extern func read(fd: u32, buf: ^u8, count: u64): i64
export extern func write(fd: u32, buf: ^u8, count: u64): i64
export extern func open(fileName: ^u8, flags: i32, mode: u16): i64
export extern func read(fd: u32, buf: ^char, count: u64): i64
export extern func write(fd: u32, buf: ^char, count: u64): i64
export extern func open(fileName: ^char, flags: i32, mode: u16): i64