mi_integer mi_library_version(buf, buflen)
char *buf;
mi_integer buflen;
The mi_library_version( ) function copies the version and version date into the user-defined buffer that buf references.
In a C UDR, mi_library_version( ) returns the name of the database server and its version number.
See also the descriptions of mi_version_comparison( ) and mi_server_library_version( ).