io_uring_unr...r_personality(3)

πŸ’– io_uring_unregister_personality β€” the liburing manual page, but make it make sense πŸ’–

okay bestie, welcome to the liburing manual, page io_uring_unr...r_personality(3). yes the title got truncated, no we're not gonna talk about it, it's giving terminal-width betrayal 😭


✨ NAME ✨

io_uring_unregister_personality β€” unregister a personality from io_uring πŸŽ€


🌸 SYNOPSIS 🌸

#include <liburing.h>

int io_uring_unregister_personality(struct io_uring *ring, int id);

πŸ¦‹ DESCRIPTION πŸ¦‹

so, io_uring_unregister_personality(3) does exactly what it says on the tin, no cap: it unregisters a personality that you'd already registered on the io_uring instance you point at with ring.

the id argument? that's the personality ID you got handed back from a previous call to io_uring_register_personality(3). like, the receipt. the little number that says "yeah, this one's mine." 🧚

heads up bestie: once you've unregistered it, that personality ID is no longer valid and you must not use it in future submissions. it's gone. expired. deceased. do not pass go, do not submit with it. πŸ’€

⭐ RETURN VALUE ⭐

  • 0 β€” slay, it worked, success πŸ’…
  • negative errno value β€” something went wrong, check the errno, it's giving error energy πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, periodt. this lil' beauty ships as part of <b>liburing-2.4</b>, dated <b>January 18, 2025</b> β€” mwah, take care of her πŸ«ΆπŸ’–

πŸ“¦ where this page comes from