let all_pread fd off buf =
          if off < Int64.zero
          then invalid_arg "ExtUnix.LargeFile.all_pread"
          else unsafe_all_pread fd off buf