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

NAME

6       io_uring_get_sqe - get the next vacant event from the submission queue
7

SYNOPSIS

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

DESCRIPTION

14       The  io_uring_get_sqe()  function  gets  the next vacant event from the
15       submission queue belonging to the ring param.
16
17       On success io_uring_get_sqe() returns a pointer to the submission queue
18       event.  On failure NULL is returned.
19
20       If  a  submission  queue event is returned, it should be filled out via
21       one of the prep functions such as io_uring_prep_read(3)  and  submitted
22       via io_uring_submit(3).
23
24

RETURN VALUE

26       io_uring_get_sqe(3)  returns  a  pointer  to  the next submission queue
27       event on success and NULL on failure.
28

SEE ALSO

30       io_uring_submit(3)
31
32
33
34liburing-0.7                     July 10, 2020             io_uring_get_sqe(3)
Impressum