thermal_events_fd
LIBTHERMAL_API int thermal_events_fd(struct thermal_handler *th);
if (mainloop_add(thermal_events_fd(td.th), thermal_event, &td)) {