Reference

libnvme_mi_aem_get_fd-libnvme3(2)

Returns the pollable fd for AEM data available

NAME

libnvme_mi_aem_get_fd - Returns the pollable fd for AEM data available

SYNOPSIS

int libnvme_mi_aem_get_fd (struct libnvme_mi_ep *ep );

ARGUMENTS

ep

The endpoint being monitored for asynchronous data

DESCRIPTION

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).

RETURN

The fd value or -1 if error