---
name: "libnvme_mi_aem_get_fd-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_mi_aem_get_fd-libnvme3"
---

# 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
