LIBNVME_TRANSPORT_HANDLE_GET_MI_EP-LIBNVME3(2)
π libnvme_tran...le_get_mi_ep(9)
okay bestie, welcome to the libnvme API manual β¨ this one's a tiny little function page but it's lowkey important so let's get into it π
πΈ NAME πΈ
libnvme_transport_handle_get_mi_ep β literally just grabs the MI endpoint off a transport handle, no cap π«Ά
β¨ SYNOPSIS β¨
struct libnvme_mi_ep * libnvme_transport_handle_get_mi_ep (struct
libnvme_transport_handle *hdl );
that's the whole vibe: you hand it a transport handle, it hands you back an MI endpoint pointer π
π¦ ARGUMENTS π¦
hdlβ the transport handle. your main character, the one you're pulling the MI endpoint out of π
π DESCRIPTION π
so like, what this does is retrieve the MI endpoint that's associated with this transport handle π it's giving "fetch the thing that belongs to the thing" energy, iykyk.
β οΈ okay important: this is only valid for MI-type transport handles. check first with libnvme_transport_handle_is_mi before you go doing anything π don't just assume, fr fr.
π RETURN π
returns the MI endpoint β slay π
β or NULL if the handle isn't an MI handle π (that's the vibe check failing, bestie, no endpoint for you).
that's it, that's the whole page π short and iconic, as she should be.
β October 2026, brought to you by libnvme π§ββοΈ catch you in the next manpage, mwah π
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms