Implemented extern functions
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
read(fd Int, address *Any, length Int) -> Int {
|
||||
return syscall(0, fd, address, length)
|
||||
read(fd Int, buffer *Any, length Int) -> Int {
|
||||
return syscall(0, fd, buffer, length)
|
||||
}
|
||||
|
||||
write(fd Int, address *Any, length Int) -> Int {
|
||||
return syscall(1, fd, address, length)
|
||||
write(fd Int, buffer *Any, length Int) -> Int {
|
||||
return syscall(1, fd, buffer, length)
|
||||
}
|
||||
|
||||
open(path *Any, flags Int, mode Int) -> Int {
|
||||
|
Reference in New Issue
Block a user