libnvme_ctrl_get_transport_handle-libnvme3(2)

libnvme_ctrl_get_transport_handle-libnvme32

Get associated transport handle

Usage

struct libnvme_transport_handle * libnvme_ctrl_get_transport_handle (struct libnvme_ctrl *c );

Arguments

c

Controller instance

Overview

libnvme will open the device (if not already opened) and keep an internal copy of the link handle. Following calls to this API retrieve the internal cached copy of the link handle. The file will remain opened and the handle will remain cached until the controller object is deleted or libnvme_ctrl_release_transport_handle is called.

Return

Link handle associated with c or NULL

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.