Comment

Comment by jra_samba_org

Well pread/pwrite have the same return values, and historically for disk reads they block or return a device error.

pread only returns a short value on EOF.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton