-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the free function io_uring_sqe_set_buf_group so that users of liburing-ffi don't have to navigate the complex io_uring_sqe structure. Signed-off-by: Christian Mazakas <christian.mazakas@gmail.com>
- Loading branch information
Showing
4 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters