Improved type system
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
read(fd Int, address Pointer, length Int) -> Int {
|
||||
read(fd Int, address *Any, length Int) -> Int {
|
||||
return syscall(0x2000003, fd, address, length)
|
||||
}
|
||||
|
||||
write(fd Int, address Pointer, length Int) -> Int {
|
||||
write(fd Int, address *Any, length Int) -> Int {
|
||||
return syscall(0x2000004, fd, address, length)
|
||||
}
|
||||
|
||||
open(file Pointer, flags Int, mode Int) -> Int {
|
||||
return syscall(0x2000005, file, flags, mode)
|
||||
open(path *Any, flags Int, mode Int) -> Int {
|
||||
return syscall(0x2000005, path, flags, mode)
|
||||
}
|
||||
|
||||
close(fd Int) -> Int {
|
||||
|
Reference in New Issue
Block a user