aboutsummaryrefslogtreecommitdiff
path: root/man/io_uring_sq_space_left.3
blob: b5b2e2196f4568c3bcfdd6c61c0c8fed5d341acd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.\" Copyright (C) 2022 Stefan Roesch <shr@fb.com>
.\"
.\" SPDX-License-Identifier: LGPL-2.0-or-later
.\"
.TH io_uring_sq_space-left "January 25, 2022" "liburing-2.1" "liburing Manual"
.SH NAME
io_uring_sq_space_left \- free space in the SQ ring
.SH SYNOPSIS
.nf
.B #include <liburing.h>
.PP
.BI "unsigned io_uring_sq_space_left(const struct io_uring *" ring ");"
.fi
.SH DESCRIPTION
.PP
The
.BR io_uring_sq_space_left (3)
function retuns how much space is left in the SQ ring belonging to the
.I ring
param.

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