io_uring_prep_poll_remove(3)
π io_uring_prep_poll_remove β the liburing manual, bestie edition π
okay so you're here for io_uring_prep_poll_remove(3) from the liburing Manual, and honestly? iconic of you. sit down, hydrate, let's go π
β¨ NAME β¨
io_uring_prep_poll_remove β prepare a poll deletion request ποΈ
like... you're deleting a poll. bye bestie, you're cancelled (literally).
β¨ SYNOPSIS β¨
#include <liburing.h>
void io_uring_prep_poll_remove(struct io_uring_sqe *sqe,
__u64 user_data);
β¨ DESCRIPTION β¨
so the io_uring_prep_poll_remove(3) function prepares a poll removal request, periodt. the submission queue entry sqe gets set up to remove a poll request that's identified by user_data π―
it works exactly like io_uring_prep_cancel(3) β the way that it's the same function energy β except it only looks for poll requests. that's the one and only difference. apart from that, the behavior is identical, no cap. so go read that man page for the specific details, iykyk π
β¨ RETURN VALUE β¨
None. nothing. zero. it's giving void π«₯
β¨ ERRORS β¨
these are the errors that get reported in the CQE res field, bestie. on success, 0 is returned π
-ENOENTβ the request identified byuser_datacould not be located π this could be because it completed before the cancelation request was even issued, or because an invalid identifier got used. rude of it, honestly.-EINVALβ one of the fields set in the SQE was invalid. π invalid field, invalid vibe.-EALREADYβ the execution state of the request has progressed far enough that cancelation is no longer possible. this should normally mean that it will complete shortly β either successfully, or interrupted due to the cancelation. so like... it's already main character-ing its way to the finish line, you can't stop it now πβοΈβ¨
β¨ SEE ALSO β¨
π¦ mwah π¦ this page was brought to you by liburing-2.2, dated March 12, 2022 β love her, respect her, she's been serving since day one ππ
π¦ 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