---
name: "libnvme_transport_handle_get_mi_ep-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_transport_handle_get_mi_ep-libnvme3"
---

# libnvme\_transport\_handle\_get\_mi\_ep-libnvme3(2)

get the MI endpoint from a transport handle

## NAME

libnvme\_transport\_handle\_get\_mi\_ep - get the MI endpoint from a transport handle

## SYNOPSIS

**struct libnvme\_mi\_ep \* libnvme\_transport\_handle\_get\_mi\_ep** **(struct libnvme\_transport\_handle \*hdl** *);*

## ARGUMENTS

- hdl

  transport handle

## DESCRIPTION

Retrieve the MI endpoint associated with this transport handle. Only valid for MI-type transport handles (check with libnvme\_transport\_handle\_is\_mi first).

## RETURN

the MI endpoint, or NULL if the handle is not an MI handle.
