aboutsummaryrefslogtreecommitdiff
path: root/man/io_uring_unregister_files.3
blob: c468d0813f2489a0cb342573e89daddebe7d051b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.\" Copyright (C) 2021 Stefan Roesch <shr@fb.com>
.\"
.\" SPDX-License-Identifier: LGPL-2.0-or-later
.\"
.TH io_uring_unregister_files 3 "November 15, 2021" "liburing-2.1" "liburing Manual"
.SH NAME
io_uring_unregister_files \- unregister file descriptors
.SH SYNOPSIS
.nf
.B #include <liburing.h>
.PP
.BI "int io_uring_unregister_files(struct io_uring *" ring ");"
.fi
.SH DESCRIPTION
.PP
The
.BR io_uring_unregister_files (3)
function unregisters the file descriptors previously registered to the
.IR ring .

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