File: io_uring_sqe_set_buf_group.3

package info (click to toggle)
liburing 2.14-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,448 kB
  • sloc: ansic: 59,512; sh: 816; makefile: 603; cpp: 32
file content (32 lines) | stat: -rw-r--r-- 850 bytes parent folder | download | duplicates (3)
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
26
27
28
29
30
31
32
.\" Copyright (C) 2024 Christian Mazakas <christian.mazakas@gmail.com>
.\"
.\" SPDX-License-Identifier: LGPL-2.0-or-later
.\"
.TH io_uring_sqe_set_buf_group 3 "December 9, 2024" "liburing-2.9" "liburing Manual"
.SH NAME
io_uring_sqe_set_buf_group \- set buf group for submission queue event
.SH SYNOPSIS
.nf
.B #include <liburing.h>
.PP
.BI "void io_uring_sqe_set_buf_group(struct io_uring_sqe *" sqe ","
.BI "                                int " bgid ");"
.fi
.SH DESCRIPTION
.PP
The
.BR io_uring_sqe_set_buf_group (3)
function sets the associated buf_group of the
.I sqe
to
.IR bgid .

After the caller has requested a submission queue entry (SQE) with
.BR io_uring_get_sqe (3) ,
they can associate a buf_group with the SQE used for multishot operations.

.SH RETURN VALUE
None
.SH SEE ALSO
.BR io_uring_get_sqe (3),
.BR io_uring_cqe_set_data (3)