ref: 54bac038f411c10a596adf84c06df32f8c7c4c53 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); }