mitchellh / libxev

libxev is a cross-platform, high-performance event loop that provides abstractions for non-blocking IO, timers, events, and more and works on Linux (io_uring or epoll), macOS (kqueue), and Wasm + WASI. Available as both a Zig and C API.
MIT License
2.07k stars 74 forks source link

Add support for pread() and pwrite() #55

Closed penberg closed 1 year ago

penberg commented 1 year ago

When working with files, you usually need to control the position where you're reading from.