DOKK / manpages / debian 12 / liburing-dev / io_uring_sq_space_left.3.en
io_uring_sq_space-left(3) liburing Manual io_uring_sq_space-left(3)

io_uring_sq_space_left - free space in the SQ ring

#include <liburing.h>
unsigned io_uring_sq_space_left(const struct io_uring *ring);

The io_uring_sq_space_left(3) function returns how much space is left in the SQ ring belonging to the ring param.

Returns the number of availables entries in the SQ ring.

io_uring_sq_ready(3)

January 25, 2022 liburing-2.1