libnvme_mi_aem_get_fd(9) libnvme API manual libnvme_mi_aem_get_fd(9)

libnvme_mi_aem_get_fd - Returns the pollable fd for AEM data available

int libnvme_mi_aem_get_fd (struct libnvme_mi_ep *ep );

The endpoint being monitored for asynchronous data

This populated structure can be polled from the application to understand if a call to libnvme_mi_aem_process is required (when a poll returns > 0).

The fd value or -1 if error

libnvme_mi_aem_get_fd September 2026