libnvme_mi_...t_next_event(9)
π libnvme_mi_aem_get_next_event(9) β from the libnvme API manual, bestie π
okay so bestie, welcome to the glow-up of libnvme_mi_aem_get_next_event(9) β¨ like yes the title is a whole mouthful but she's iconic and we're gonna get through it together, i promise π«Ά
πΈ NAME πΈ
libnvme_mi_aem_get_next_event β literally just "get details for the next event to parse" π« that's the whole vibe.
β¨ SYNOPSIS β¨
struct libnvme_mi_event * libnvme_mi_aem_get_next_event (struct libnvme_mi_ep *ep );
there she is. one function, one arg, no drama π
π¦ ARGUMENTS π¦
epβ the endpoint that's holding the event, aka the main character of this call π
π DESCRIPTION π
so picture it: you're inside an aem_handler (iykyk), and you call this little icon, and the struct pointer that comes back hands you all the deets on the event info π₯
she'll return NULL when the end of parsing has occurred β like okay periodt, we're done here π
β οΈ real talk though:spec_infoandvend_spec_infomust be copied if you want them to persist, because they will not be valid afterhandler_next_actionhas returned. not me warning you twice, it's giving "copy it or lose it" ππ
β RETURN β
pointer to the next libnvme_mi_event, or NULL if this is the last one π (yes that's the vibe check passing or failing, no in between).
and that's the whole page, bestie π go forth and parse those events, no cap π
signed with love: this was the libnvme API manual, version libnvme_mi_aem_get_next_elibnvme_mi_...t_next_event(9) (yes girl that footer said what it said π), dated October 2026 π
π¦ 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