Sha256: d8025dcdf7bb75e0821e9c13d56a1d22b8a1436711257418c3369add7c6752a6

Contents?: true

Size: 938 Bytes

Versions: 8

Compression:

Stored size: 938 Bytes

Contents

.\" Copyright (C) 2021 Stefan Roesch <shr@fb.com>
.\"
.\" SPDX-License-Identifier: LGPL-2.0-or-later
.\"
.TH io_uring_register_files 3 "November 15, 2021" "liburing-2.1" "liburing Manual"
.SH NAME
io_uring_register_files - register file descriptors
.fi
.SH SYNOPSIS
.nf
.BR "#include <liburing.h>"
.PP
.BI "int io_uring_register_files(struct io_uring *ring,"
.BI "                            const int *files,"
.BI "                            unsigned nr_files)"
.PP
.SH DESCRIPTION
.PP
The io_uring_register_files() function registers
.I nr_files
number of file descriptors defined by the array
.I files
belonging to the
.I ring
for subsequent operations.

After the caller has registered the buffers, they can be used with the
submission queue polling operations.

.SH RETURN VALUE
On success
.BR io_uring_register_files (3)
returns 0. On failure it returns -errno.
.SH SEE ALSO
.BR io_uring_get_sqe (3), io_uring_unregister_files (3)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
polyphony-0.94 vendor/liburing/man/io_uring_register_files.3
polyphony-0.93 vendor/liburing/man/io_uring_register_files.3
polyphony-0.92 vendor/liburing/man/io_uring_register_files.3
polyphony-0.91 vendor/liburing/man/io_uring_register_files.3
polyphony-0.90 vendor/liburing/man/io_uring_register_files.3
polyphony-0.89 vendor/liburing/man/io_uring_register_files.3
polyphony-0.87 vendor/liburing/man/io_uring_register_files.3
polyphony-0.86 vendor/liburing/man/io_uring_register_files.3