Sha256: 9202a3e824bf290325289186e74a4628bd79b80d5de91a86547a8e4c0e5c0ba7
Contents?: true
Size: 931 Bytes
Versions: 8
Compression:
Stored size: 931 Bytes
Contents
.\" Copyright (C) 2021 Stefan Roesch <shr@fb.com> .\" .\" SPDX-License-Identifier: LGPL-2.0-or-later .\" .TH io_uring_wait_cqe 3 "November 15, 2021" "liburing-2.1" "liburing Manual" .SH NAME io_uring_wait_cqe - wait for one io_uring completion event .SH SYNOPSIS .nf .BR "#include <liburing.h>" .PP .BI "int io_uring_wait_cqe(struct io_uring *ring," .BI " struct io_uring_cqe **cqe_ptr);" .fi .PP .SH DESCRIPTION .PP The io_uring_wait_cqe() function returns an IO completion from the queue belonging to the .I ring param, waiting for it if necessary. The .I cqe_ptr param is filled in on success. After the caller has submitted a request with io_uring_submit(), he can retrieve the completion with io_uring_wait_cqe(). .SH RETURN VALUE On success .BR io_uring_wait_cqe (3) returns 0 and the cqe_ptr parm is filled in. On failure it returns -errno. .SH SEE ALSO .BR io_uring_submit (3), io_uring_wait_cqes(3)
Version data entries
8 entries across 8 versions & 1 rubygems