io_uring_prep_poll_remove(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | SEE ALSO | COLOPHON

io_uring_prep_poll_remove(3) liburing Manualio_uring_prep_poll_remove(3)

NAME         top

       io_uring_prep_poll_remove - prepare a poll deletion request

SYNOPSIS         top

       #include <liburing.h>

       void io_uring_prep_poll_remove(struct io_uring_sqe *sqe,
                                      __u64 user_data);

DESCRIPTION         top

       The io_uring_prep_poll_remove(3) function prepares a poll removal
       request. The submission queue entry sqe is setup to remove a poll
       request identified by user_data

       Works like io_uring_prep_cancel(3) except only looks for poll
       requests. Apart from that, behavior is identical.  See that man
       page for specific details.

RETURN VALUE         top

       None

ERRORS         top

       These are the errors that are reported in the CQE res field. On
       success, 0 is returned.

       -ENOENT
              The request identified by user_data could not be located.
              This could be because it completed before the cancelation
              request was issued, or if an invalid identifier is used.

       -EINVAL
              One of the fields set in the SQE was invalid.

       -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.

SEE ALSO         top

       io_uring_get_sqe(3), io_uring_submit(3), io_uring_prep_cancel(3)

COLOPHON         top

       This page is part of the liburing (A library for io_uring)
       project.  Information about the project can be found at 
       ⟨https://github.com/axboe/liburing⟩.  If you have a bug report for
       this manual page, send it to io-uring@vger.kernel.org.  This page
       was obtained from the project's upstream Git repository
       ⟨https://github.com/axboe/liburing⟩ on 2024-06-14.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2024-06-03.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

liburing-2.2                 March 12, 2022 io_uring_prep_poll_remove(3)

Pages that refer to this page: io_uring_prep_cancel(3)io_uring_prep_cancel64(3)io_uring_prep_cancel_fd(3)io_uring_prep_poll_remove(3)