This commit is contained in:
parent
3717a61414
commit
320e023d74
9 changed files with 45 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
import os
|
||||
|
||||
write(buffer []byte) -> int {
|
||||
write(buffer []byte) -> (written int) {
|
||||
return os.write(0, buffer, len(buffer))
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
write(fd int, buffer *byte, length int) -> int {
|
||||
return syscall(1, fd, buffer, length)
|
||||
}
|
3
lib/os/os_linux_x86.q
Normal file
3
lib/os/os_linux_x86.q
Normal file
|
@ -0,0 +1,3 @@
|
|||
write(fd int, buffer *byte, length int) -> (written int) {
|
||||
return syscall(1, fd, buffer, length)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue