ref: 009bea0f5779e3c78d051a2fd6664dcea3c435b8
parent: a87796e4bea5392c6a524a0318140230a6104050
author: Ori Bernstein <[email protected]>
date: Wed Aug 15 17:17:01 EDT 2012
Do conversion to new slice syntax for OSX
--- a/sys-osx.myr
+++ b/sys-osx.myr
@@ -419,11 +419,11 @@
const exit : (status:int64 -> void)
const getpid : ( -> int64)
const kill : (pid:int64, sig:int64 -> int64)
- const open : (path:byte[,], opts:fdopt, mode:int64 -> int64)
+ const open : (path:byte[:], opts:fdopt, mode:int64 -> int64)
const close : (fd:int64 -> int64)
- const creat : (path:byte[,], mode:int64 -> int64)
- const read : (fd:int64, buf:byte[,] -> int64)
- const write : (fd:int64, buf:byte[,] -> int64)
+ const creat : (path:byte[:], mode:int64 -> int64)
+ const read : (fd:int64, buf:byte[:] -> int64)
+ const write : (fd:int64, buf:byte[:] -> int64)
const lseek : (fd:int64, off:uint64, whence:int64 -> int64)
const fstat : (fd:int64, sb:statbuf* -> int64)
const munmap : (addr:byte*, len:size -> int64)