io_uring_unregister_buf_ring(3)
β¨ io_uring_unregister_buf_ring β¨
okay so bestie, we're deep in the liburing Manual rn and this one is a certified banger of a cleanup function π it's page io_uring_unregister_buf_ring(3) and honestly? it's giving "tidying up after the party" energy π
πΈ NAME πΈ
io_uring_unregister_buf_ring β unregister a previously registered buffer ring π
π¦ SYNOPSIS π¦
#include <liburing.h>
int io_uring_unregister_buf_ring(struct io_uring *ring,
int bgid);
π DESCRIPTION π
so the way that this works is β io_uring_unregister_buf_ring(3) unregisters a previously registered shared buffer ring, and that ring is indicated by bgid. that's it. that's the whole vibe π«Ά
you registered it, you had your little moment with it, and now you're letting it go. closure! iconic! πβ¨
β RETURN VALUE β
- on success,
io_uring_unregister_buf_ring(3)returns0π slay - on failure, it returns
-errnoπ (negative errno, so like, read the sign bestie)
π SEE ALSO π
io_uring_register_buf_ring(3)β the register half of this situationship πio_uring_buf_ring_free(3)β the freeing half, also a whole mood π§
ngl this is the unregister one, not the register one, not the free one. three different functions, three different jobs. don't mix them up fr fr π
that's the whole page, bestie!! mwah π this was liburing-2.2, dated May 18, 2022, and yes i'm obsessed with it. periodt π
β¨
π¦ 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) 2022 Jens Axboe <axboe@kernel.dk>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms