Skip navigation links
(CGNS Documentation Home Page) (Steering Committee Charter) (Overview and Entry-Level Document) (A User's Guide to CGNS) (Mid-Level Library) (Standard Interface Data Structures) (SIDS File Mapping Manual) (CGIO User's Guide) (Parallel CGNS User's Guide) (ADF Implementation) (HDF5 Implementation) (Python Implementation) (CGNS Tools and Utilities)

(The CGIO Software Library) (Database-Level Routines) (Data Structure Management Routines) (Link Management Routines) (Node Management Routines) (Data I/O Routines) (Error Messages and Routines) (Miscellaneous Routines) (Example Programs)

Miscellaneous Routines

Functions Modes
ier = cgio_flush_to_disk(int cgio_num); - w m
ier = cgio_library_version(int cgio_num, char *version); r w m
ier = cgio_file_version(int cgio_num, char *file_version, char *creation_date,
      char *modified_date);
r w m
call cgio_flush_to_disk_f(cgio_num, ier) - w m
call cgio_library_version_f(cgio_num, version, ier) r w m
call cgio_file_version_f(cgio_num, file_version, creation_date,
     modified_date, ier)
r w m

Input/Output

    cgio_num   Database identifier.
version 32-byte character string containing the database library version.
file_version 32-byte character string containing the database file version.
creation_date 32-byte character string containing the database file creation date.
modified_date 32-byte character string containing the last modification date for the database file.
ier Error status.

Function Descriptions

cgio_flush_to_disk
Forces any buffered data in the database manager to be written to disk. Returns 0 if successfull, else an error code.
 
cgio_library_version
Gets the current library version for the database given by cgio_num. The version is returned in version which is of maximum length CGIO_MAX_VERSION_LENGTH (32). In C, version should be dimensioned at least 33 in the calling routine to allow for the terminating '0'. The function returns 0 if successfull, else an error code.
 
cgio_file_version
Gets the version, creation and last modified dates, for the database file given by cgio_num. The version is returned in file_version, which is of maximum length CGIO_MAX_VERSION_LENGTH (32). The creation date is returned in creation_date, and the last modified date in modified_date, which are of maximum length CGIO_MAX_DATE_LENGTH (32). In C, these should be dimensioned at least 33 in the calling routine to allow for the terminating '0'. The function returns 0 if successfull, else an error code.