Reports the version and enabled features of the database runtime.
MCO_RET mco_get_runtime_info( /*OUT*/ mco_runtime_info_t * pinfo)
pinfo
mco_runtime_info_t structure.This function reports the version and enabled features of the eXtremeDB database runtime.
MCO_S_OK
Application snippet:
int main(int argc, char* argv[])
{
...
mco_runtime_info_t info;
mco_get_runtime_info( &info);
if ( info.mco_shm_supported == 0 )
start_mem = (void*)malloc( SEGSZ );
else
start_mem = MAP_ADDRESS;
}