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

NAME

6       io_uring_get_events - Flush outstanding requests to CQE ring
7

SYNOPSIS

9       #include <liburing.h>
10
11       int io_uring_get_events(struct io_uring *ring);
12

DESCRIPTION

14       The  io_uring_get_events(3)  function runs outstanding work and flushes
15       completion events to the CQE ring.
16
17       There can be events needing to be flushed if the ring was full and  had
18       overflowed.   Alternatively  if  the  ring  was  setup  with  the  IOR‐
19       ING_SETUP_DEFER_TASKRUN flag then this will process outstanding  tasks,
20       possibly resulting in more CQEs.
21
22

RETURN VALUE

24       On success io_uring_get_events(3) returns 0. On failure it returns -er‐
25       rno.
26

SEE ALSO

28       io_uring_get_sqe(3),     io_uring_submit_and_get_events(3),      io_ur‐
29       ing_cq_has_overflow(3)
30
31
32
33liburing-2.3                   September 5, 2022        io_uring_get_events(3)
Impressum