Miscellaneous Routines#
cgio_flush_to_disk#
- C Signature:
-
int cgio_flush_to_disk(int cgio_num)#
-
int cgio_flush_to_disk(int cgio_num)#
- Fortran Signature:
- subroutine cgio_flush_to_disk_f(cgio_num, ier)#
- Parameters:
cgio_num
IN: Database identifier.
- Returns:
ier
- Error status- Modes:
- w m
- Description:
Forces any buffered data in the database manager to be written to disk. Returns 0 if successful, else an error code.
cgio_library_version#
- C Signature:
-
int cgio_library_version(int cgio_num, char *version)#
-
int cgio_library_version(int cgio_num, char *version)#
- Fortran Signature:
- subroutine cgio_library_version_f(cgio_num, version, ier)#
- Parameters:
cgio_num
IN: Database identifier.
version
OUT: 32-byte character string containing the database library version.
- Returns:
ier
- Error status- Modes:
r w m
- Description:
Gets the current library version for the database given by
cgio_num
. The version is returned in version which is of maximum lengthCGIO_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 successful, else an error code.
cgio_file_version#
- C Signature:
-
int cgio_file_version(int cgio_num, char *file_version, char *creation_date, char *modified_date)#
-
int cgio_file_version(int cgio_num, char *file_version, char *creation_date, char *modified_date)#
- Fortran Signature:
- subroutine cgio_file_version_f(cgio_num, file_version, creation_date, modified_date, ier)#
- Parameters:
cgio_num
IN: Database identifier.
file_version
OUT: 32-byte character string containing the database file version.
creation_date
OUT: 32-byte character string containing the database file creation date.
modified_date
OUT: 32-byte character string containing the last modification date for the database file.
- Returns:
ier
- Error status- Modes:
r w m
- Description:
Gets the version, creation and last modified dates, for the database file given by
cgio_num
. The version is returned infile_version
, which is of maximum lengthCGIO_MAX_VERSION_LENGTH
(32). The creation date is returned increation_date
, and the last modified date inmodified_date
, which are of maximum lengthCGIO_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 successful, else an error code.