libnvme\_transport\_handle\_get\_mi\_ep(9) libnvme API manual libnvme\_transport\_handle\_get\_mi\_ep(9)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[hdl](#hdl)

transport handle

# [DESCRIPTION](#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](#RETURN)

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

libnvme\_transport\_handle\_get\_mi\_ep September 2026

---

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