Sha256: f83952e27435cca79e623529b169839918f37570abab11d7462000c3e2ee266e
Contents?: true
Size: 986 Bytes
Versions: 8
Compression:
Stored size: 986 Bytes
Contents
.\" Copyright (C) 2022 Stefan Roesch <shr@fb.com> .\" .\" SPDX-License-Identifier: LGPL-2.0-or-later .\" .TH io_uring_cq_advance 3 "January 25, 2022" "liburing-2.1" "liburing Manual" .SH NAME io_uring_cq_advance - Mark one or more io_uring completion events as processed .SH SYNOPSIS .nf .BR "#include <liburing.h>" .PP .BI "void io_uring_cqe_advance(struct io_uring *ring," .BI " unsigned nr)" .fi .PP .SH DESCRIPTION .PP The io_uring_cq_advance() function marks .I nr IO completions belonging to the .I ring param as processed. After the caller has submitted a request with io_uring_submit(), he can retrieve the completion with io_uring_wait_cqe() and mark it then as processed with io_uring_cqe_seen(). The function io_uring_cqe_seen() calls the function io_uring_cq_advance(). Completions must be marked as completed, so their slot can get reused. .SH RETURN VALUE None .SH SEE ALSO .BR io_uring_submit (3), io_uring_wait_cqe (3), io_uring_cqe_seen (3)
Version data entries
8 entries across 8 versions & 1 rubygems