setjmp for pread