structevent_base*base;enumevent_method_featuref;base =event_base_new();if (!base) {puts("Couldn't get an event_base!");} else {printf("Using Libevent with backend method %s.",event_base_get_method(base)); f =event_base_get_features(base);if ((f & EV_FEATURE_ET))printf(" Edge-triggered events are supported.");if ((f & EV_FEATURE_O1))printf(" O(1) event notification is supported.");if ((f & EV_FEATURE_FDS))printf(" All FD types are supported.");puts("");}