io_uring_unregister_buffers(3)
π io_uring_unregister_buffers β bestie edition π
okay so this is a liburing manual page, bestie. it lives in section 3 of the manual, and it's all about β¨ undoing β¨ a thing you did earlier. the function is called io_uring_unregister_buffers. say it with me. iconic name, honestly.
β¨ NAME β¨
io_uring_unregister_buffers β unregister buffers for fixed buffer operations π
like, it takes your fixed buffers off the guest list. that's the whole vibe.
πΈ SYNOPSIS πΈ
#include <liburing.h>
int io_uring_unregister_buffers(struct io_uring *ring);
there it is. one include, one function, one struct io_uring *ring pointer. clean. minimal. main character energy. π
π¦ DESCRIPTION π¦
okay so listen. the io_uring_unregister_buffers(3) function unregisters the fixed buffers that were previously registered to the ring.
that's it. that's the function. it's the uno reverse card π for buffer registration β you registered them, and now you're taking them back off the list. no cap.
π reminder that it's the fixed buffers previously registered to the ring that get unregistered. it's not inventing new ones, it's not guessing, it's just un-doing the registration you already did.
π RETURN VALUE π
- success β
io_uring_unregister_buffers(3)returns0β¨ and you may celebrate π - failure β it returns
-errnoπ so yeah, negative errno, go read your errno and find out what went wrong
π«Ά fr fr,0means slay,-errnomeans read the error and cope.
π SEE ALSO π
io_uring_register_buffers(3)β the other half of this situationship π (register them there, unregister them here, it's giving balance)
and that's the whole page, bestie!! π this little gem comes to you from liburing-2.1, dated November 15, 2021, and it's the liburing Manual, section 3 β same title up top, same title at the bottom, because symmetry is also main character energy. go unregister those buffers, you've got this πβ¨π¦
π¦ where this page comes from
- alpine 3.22: liburing-doc 2.9-r0 Β· LGPL-2.1-or-later OR MIT
- alpine 3.23: liburing-doc 2.12-r0 Β· LGPL-2.1-or-later OR MIT
- alpine 3.24: liburing-doc 2.14-r0 Β· LGPL-2.1-or-later OR MIT
- arch rolling: liburing 2.15-1 Β· GPL-2.0-only WITH Linux-syscall-note OR MIT AND LGPL-2.0-or-later AND MIT
- centos-stream 10: liburing-devel 2.12-1.el10 Β· (GPLv2 with exceptions and LGPLv2+) or MIT
- centos-stream 9: liburing-devel 2.12-1.el9 Β· (GPLv2 with exceptions and LGPLv2+) or MIT
- centos-stream 9: liburing-devel 2.12-1.el9 Β· (GPLv2 with exceptions and LGPLv2+) or MIT
- debian bookworm: liburing-dev 2.3-3
- debian trixie: liburing-dev 2.9-1
- fedora 43: liburing-devel 2.9-2.fc43 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- fedora 43: liburing-devel 2.9-2.fc43 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- fedora 44: liburing-devel 2.13-2.fc44 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- fedora 44: liburing-devel 2.13-2.fc44 Β· (GPL-2.0-only WITH Linux-syscall-note OR MIT) AND (LGPL-2.0-or-later OR MIT)
- nixpkgs unstable: liburing 2.14
- opensuse-leap 16.0: liburing-devel 2.8-160000.3.1 Β· (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT
- opensuse-leap 16.0: liburing-devel 2.8-160000.3.1 Β· (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT
- opensuse-leap 16.0: liburing-devel 2.8-160000.3.1 Β· (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT
- opensuse-leap 16.0: liburing-devel 2.8-160000.3.1 Β· (GPL-2.0-only AND LGPL-2.1-or-later) OR MIT
- ubuntu noble: liburing-dev 2.5-1build1
- ubuntu questing: liburing-dev 2.11-1
- ubuntu resolute: liburing-dev 2.14-1
- ubuntu stonking: liburing-dev 2.15-1
- π the page's license: LGPL-2.0-or-later
- Copyright (C) 2021 Stefan Roesch <shr@fb.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms