libnvme_reap_passthru(9)
π libnvme_reap_passthru β the libnvme API manual, bestie edition π
okay so real quick, this page lives in the libnvme API manual and it's about libnvme_reap_passthru(9) β yes the whole name, we're not abbreviating, she's an icon and she knows it β¨
πΈ NAME πΈ
libnvme_reap_passthru β reap one async completion. literally just one. one single completion. she's not greedy π
π¦ SYNOPSIS π¦
int libnvme_reap_passthru (struct libnvme_transport_handle *hdl , struct
libnvme_passthru_completion *completion );
like copy that exactly, no touchy, character for character, iykyk π«Ά
π ARGUMENTS π
hdlβ the transport handle. your little handle bestie, she carries the transport vibes πcompletionβ the completion output structure. this is where the good stuff gets written back, so don't skimp on it π
π₯ DESCRIPTION π₯
So the way that this works: libnvme_reap_passthru waits for one queued passthru command to complete β³ β yes, it actually blocks and waits, she's patient like that β and then it stashes three things into completion:
- the completed command pointer π
- the associated cookie πͺ (not a real cookie, sorry bestie π)
- the completion status β
All three go into completion. That's the whole assignment. main character energy, minimal drama, no cap π
π RETURN π
0on success β slay, we ate π- a negative error code otherwise β not slay, but at least you know π
lowkey reminder: the return value isint, so the successful case is0, and anything negative means something went sideways β check it, fr fr π
that's the whole page bestie, mwah π
this cutie was brought to you by libnvme β page libnvme_reap_passthru, from the libnvme_reap_passthru(9) manual, dated October 2026 π§ββοΈ see you in the next man page, periodt β¨π¦
π¦ 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