#include "xtc/xtc.h" #include "xtc/xtc_version.h" #include #include int main(void) { xtc_app *app = NULL; xtc_result result = xtc_app_create(&app); if (result != XTC_OK) { (void)fprintf(stderr, "Application initialization failed: %s\n", xtc_result_string(result)); return EXIT_FAILURE; } xtc_app_destroy(app); if (printf("%s %s: core startup/shutdown OK\n", XTC_PROJECT_NAME, XTC_VERSION_STRING) < 0) { return EXIT_FAILURE; } return EXIT_SUCCESS; }