let all_pread fd off buf = if off < 0 then invalid_arg "ExtUnix.all_pread" else unsafe_all_pread fd off buf