libnvme_mi_...t_next_event(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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_info and vend_spec_info must be copied if you want them to persist, because they will not be valid after handler_next_action has 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