package xapi-stdext-unix
Module Unixext.DirectSource
Perform I/O in O_DIRECT mode using 4KiB page-aligned buffers
represents a file open in O_DIRECT mode
openfile name flags perm behaves the same as Unix.openfile but includes the O_DIRECT flag
with_openfile name flags perm f opens name, applies the result to f and closes
write t buf ofs len writes len bytes at offset ofs from buffer buf to t using page-aligned buffers.
copy_from_fd ?limit fd t copies from fd to t up to limit
lseek t offset command: see Unix.LargeFile.lseek