let all_pwrite fd off buf ofs len =
      if off < Int64.zero
      then invalid_arg "ExtUnix.LargeFile.all_pwrite"
      else unsafe_all_pwrite fd off buf ofs len