libnvme_ctrl_get_transport_handle(9)

NAME
libnvme_ctrl_get_transport_handle - Get associated transport handle

SYNOPSIS
struct libnvme_transport_handle * libnvme_ctrl_get_transport_handle (libnvme_ctrl_t c );

ARGUMENTS

c   Controller instance

DESCRIPTION
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