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