io_uring_buf_ring_init(3) — Linux manual page
io_uring_buf_ring_init(3) liburing Manual io_uring_buf_ring_init(3)
NAME
io_uring_buf_ring_init - Initialise a buffer ring
SYNOPSIS
#include <liburing.h> void io_uring_buf_ring_init(struct io_uring_buf_ring *br);
DESCRIPTION
io_uring_buf_ring_init(3) initialises br so that it is ready to be used. It may be called after io_uring_register_buf_ring(3) but must be called before the buffer ring is used in any other way.
RETURN VALUE
None
NOTES
Unless manual setup is needed, it's recommended to use io_uring_setup_buf_ring(3) as it provides a simpler way to setup a provided buffer ring.
SEE ALSO
io_uring_register_buf_ring(3), io_uring_setup_buf_ring(3), io_uring_buf_ring_add(3) io_uring_buf_ring_advance(3), io_uring_buf_ring_cq_advance(3)
COLOPHON
This page is part of the liburing (A library for io_uring) project. Information about the project can be found at ⟨https://github.com/axboe/liburing⟩. If you have a bug report for this manual page, send it to io-uring@vger.kernel.org. This page was obtained from the project's upstream Git repository ⟨https://github.com/axboe/liburing⟩ on 2024-06-14. (At that time, the date of the most recent commit that was found in the repository was 2024-06-03.) If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to man-pages@man7.org liburing-2.2 June 13, 2022 io_uring_buf_ring_init(3)
Pages that refer to this page: io_uring_buf_ring_init(3), io_uring_prep_read_multishot(3), io_uring_prep_recv(3), io_uring_prep_recvmsg(3), io_uring_prep_recvmsg_multishot(3), io_uring_prep_recv_multishot(3), io_uring_prep_send(3), io_uring_prep_send_bundle(3), io_uring_prep_sendmsg(3), io_uring_prep_sendmsg_zc(3), io_uring_prep_sendto(3), io_uring_register_buf_ring(3), io_uring_setup_buf_ring(3)