summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-05-16 12:30:23 -0700
committerOri Bernstein <ori@markovcorp.com>2017-05-16 12:30:23 -0700
commit46d314b6a9301cf48b66a9e1a6db16a1a0f22fce (patch)
tree7d9b2deb06d92cc8944ba97b9306008fce955ece
parent764fd41f08380207107ec05f65d0d0bf5b76797c (diff)
downloadmc-46d314b6a9301cf48b66a9e1a6db16a1a0f22fce.tar.gz
Missing offset argument on FreeBSD.
Need a way of testing from one machine on all systems :/
-rw-r--r--lib/sys/sys+freebsd-x64.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sys/sys+freebsd-x64.myr b/lib/sys/sys+freebsd-x64.myr
index 40d36f3..9225965 100644
--- a/lib/sys/sys+freebsd-x64.myr
+++ b/lib/sys/sys+freebsd-x64.myr
@@ -828,10 +828,10 @@ pkg sys =
const creat : (path:byte[:], mode:int64 -> fd)
const unlink : (path:byte[:] -> int)
const read : (fd:fd, buf:byte[:] -> size)
- const pread : (fd:fd, buf:byte[:] -> size)
+ const pread : (fd:fd, buf:byte[:], off : off -> size)
const readv : (fd:fd, iov:byte[:][:] -> size)
const write : (fd:fd, buf:byte[:] -> size)
- const pwrite : (fd:fd, buf:byte[:] -> size)
+ const pwrite : (fd:fd, buf:byte[:], off : off -> size)
const writev : (fd:fd, iov : byte[:][:] -> size)
const lseek : (fd:fd, off : off, whence : whence -> int64)
const stat : (path:byte[:], sb:statbuf# -> int64)