ref: cb5057c6b3f549328a09fb08b300a0f74f671520 dir: /lib9/pread-Nt.c/
#include "lib9.h" long pread(int fd, void *buf, long n, vlong offset) { if(seek(fd, offset, 0) < 0) return -1; return read(fd, buf, n); }