libnvme\_mi\_aem\_get\_fd(9) libnvme API manual libnvme\_mi\_aem\_get\_fd(9)

# [NAME](#NAME)

libnvme\_mi\_aem\_get\_fd - Returns the pollable fd for AEM data available

# [SYNOPSIS](#SYNOPSIS)

**int libnvme\_mi\_aem\_get\_fd** **(struct libnvme\_mi\_ep \*ep );**

# [ARGUMENTS](#ARGUMENTS)

[ep](#ep)

The endpoint being monitored for asynchronous data

# [DESCRIPTION](#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 &gt; 0).

# [RETURN](#RETURN)

The fd value or -1 if error

libnvme\_mi\_aem\_get\_fd October 2026

---

Document: libnvme_mi_aem_get_fd-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
