Open many files

ss_file_openall is a function defined in ssfile.c.

Synopsis:

herr_t ss_file_openall(size_t nfiles, ss_file_ref_t *fileref, unsigned flags, ss_prop_t *props)

Formal Arguments:

  • nfiles: Number of entries in the fileref array.
  • fileref: Array of information for files to be opened.
  • flags: Flags to control how files are opened.
  • props: Additional file opening properties (see *File Properties*).

Description: This function opens all files specified in the arguments.

Return Value: Returns non-negative on success; negative on failure.

Parallel Notes: Collective across the union of communicators specified in the fileref array.

See Also:

  • Files: Introduction for current chapter