ref: 445b50aba90556ac448843c6338d6cad855aacff 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); }