xref: /aosp_15_r20/external/liburing/man/io_uring_sq_space_left.3 (revision 25da2bea747f3a93b4c30fd9708b0618ef55a0e6)
Copyright (C) 2022 Stefan Roesch <[email protected]>

SPDX-License-Identifier: LGPL-2.0-or-later

io_uring_sq_space-left "January 25, 2022" "liburing-2.1" "liburing Manual"
NAME
io_uring_sq_space_left - free space in the SQ ring
SYNOPSIS
 #include <liburing.h> 

"unsigned io_uring_sq_space_left(const struct io_uring *" ring ");"

DESCRIPTION

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

RETURN VALUE
Returns the number of availables entries in the SQ ring.
SEE ALSO
io_uring_sq_ready (3)