io_uring_unregister_napi(3)
π io_uring_unregister_napi β ok bestie let's talk NAPI π
So this one's from the liburing Manual, and honestly? It's giving "small function, big cleanup energy." β¨
πΈ NAME πΈ
io_uring_unregister_napi β unregister NAPI busy poll settings
Like. It literally does what it says on the tin, and we love that for it. π
π¦ SYNOPSIS π¦
#include <liburing.h>
int io_uring_unregister_napi(struct io_uring *ring,
struct io_uring_napi *napi)
Two args, no drama. ring is your ring, napi is your napi struct. Slay. π
β¨ DESCRIPTION β¨
okay so here's the tea β
The io_uring_unregister_napi(3) function unregisters the NAPI busy poll settings for subsequent operations.
That's it. That's the whole vibe. You had NAPI busy poll settings registered, and now you're like "actually, no, we're done here" and this function handles the goodbye. π Subsequent operations don't get those settings anymore. Periodt.
π RETURN VALUE π
- On success,
io_uring_unregister_napi(3)returns0. π - On failure, they return
-errno. π - It also updates the
napistructure with the current values.
not me checking the return value every single time, because -errno will absolutely humble you if you ignore it π
π«Ά SEE ALSO π«Ά
...okay so the original page doesn't have a SEE ALSO section, and I'm not about to invent one, because rule number one is keep every detail, add nothing. No cap. π
that's the whole page bestie, go unregister those NAPI busy poll settings and live your main character life ππ
this little gem came to you from liburing-2.4, dated November 16, 2022 β mwah, iconic, no notes π β¨
π¦ 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 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 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 Stefan Roesch <shr@devkernel.io>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms