eio icon indicating copy to clipboard operation
eio copied to clipboard

What to do for `ftruncate`?

Open nojb opened this issue 1 year ago • 2 comments

Is this function missing from eio, or is one supposed to use the one in the unix library (via eio_unix)?

nojb avatar Sep 04 '22 07:09 nojb

Also: "seek".

nojb avatar Sep 04 '22 09:09 nojb

There are lots of missing functions - PRs welcome!

Eio.Fs.rw should have these, along with pread, etc.

talex5 avatar Sep 04 '22 09:09 talex5

seek and truncate were added in https://github.com/ocaml-multicore/eio/pull/626.

talex5 avatar Nov 05 '23 19:11 talex5