cgio_flush_to_disk
(int cgio_num)¶cgio_flush_to_disk_f
(cgio_num, ier)¶
|
IN: Database identifier. |
ier
- Error status
- w m
Forces any buffered data in the database manager to be written to disk. Returns 0 if successfull, else an error code.
cgio_library_version
(int cgio_num, char *version)¶cgio_library_version_f
(cgio_num, version, ier)¶
|
IN: Database identifier. |
|
OUT: 32-byte character string containing the database library version. |
ier
- Error status
r w m
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
(int cgio_num, char *file_version, char *creation_date, char *modified_date)¶cgio_file_version_f
(cgio_num, file_version, creation_date, modified_date, ier)¶
|
IN: Database identifier. |
|
OUT: 32-byte character string containing the database file version. |
|
OUT: 32-byte character string containing the database file creation date. |
|
OUT: 32-byte character string containing the last modification date for the database file. |
ier
- Error status
r w m
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.