ref: 55eddf2f2cd9d53ef6f576ddb47cee7b5c1b436b 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); }