nvme_disconnect_ctrl(2)

hey bestie πŸ’– you just opened the <pink>nvme_disconnect_ctrl(2)</pink> page from the <purple>libnvme API manual</purple>. it's giving short, sweet, and iconic, so let's get into it ✨

πŸŽ€ NAME πŸŽ€

nvme_disconnect_ctrl β€” Disconnect a controller. that's the whole name, no cap πŸ’…

🌸 SYNOPSIS 🌸

int nvme_disconnect_ctrl (nvme_ctrl_t c );

πŸ’– ARGUMENTS πŸ’–

  • c β€” the Controller instance, bestie. that's your controller, periodt 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so it issues a 'disconnect' fabrics command to c. literally sending that disconnect command straight to the controller, and that's the tea β˜•βœ¨

πŸ“ RETURN πŸ“

it returns 0 on success πŸ₯³ and -1 on failure πŸ’€. fr fr, those are the only return vibes here.


mwah πŸ’‹ that's a wrap. this page is from <pink>July 2026</pink>, all about <purple>nvme_disconnect_ctrl</purple> in section <cyan>2</cyan> of the <lavender>libnvme API manual</lavender>. stay slaying, bestie πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from