1io_uring_cqe_seen(3)            liburing Manual           io_uring_cqe_seen(3)
2
3
4

NAME

6       io_uring_cqe_seen - mark io_uring completion event as consumed
7

SYNOPSIS

9       #include <liburing.h>
10
11       void io_uring_cqe_seen(struct io_uring *ring,
12                              struct io_uring_cqe *cqe);
13

DESCRIPTION

15       The io_uring_cqe_seen(3) function marks the IO completion cqe belonging
16       to the ring param as consumed.
17
18       After the caller has submitted a request with  io_uring_submit(3),  the
19       application  can  retrieve  the  completion  with io_uring_wait_cqe(3),
20       io_uring_peek_cqe(3), or any of the other CQE  retrieval  helpers,  and
21       mark it as consumed with io_uring_cqe_seen(3).
22
23       Completions must be marked as completed so their slot can get reused.
24

RETURN VALUE

26       None
27

SEE ALSO

29       io_uring_submit(3),  io_uring_peek_cqe(3), io_uring_wait_cqe(3), io_ur‐
30       ing_wait_cqes(3), io_uring_wait_cqe_timeout(3)
31
32
33
34liburing-2.1                   November 15, 2021          io_uring_cqe_seen(3)
Impressum