mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-21 23:26:12 -04:00
29 lines
817 B
Plaintext
29 lines
817 B
Plaintext
.\" Copyright (C) 2020 Jens Axboe <axboe@kernel.dk>
|
|
.\" Copyright (C) 2020 Red Hat, Inc.
|
|
.\"
|
|
.\" SPDX-License-Identifier: LGPL-2.0-or-later
|
|
.\"
|
|
.\" TODO: Fix the version number/date here
|
|
.TH io_uring_queue_exit 3 "September 11, 2020" "liburing 1.0.0" "liburing Manual"
|
|
.SH NAME
|
|
io_uring_queue_exit - tear down io_uring submission and completion queues
|
|
.SH SYNOPSIS
|
|
.nf
|
|
.BR "#include <liburing.h>"
|
|
.PP
|
|
.BI "int io_uring_queue_exit(struct io_uring *" ring );
|
|
.fi
|
|
.PP
|
|
.SH DESCRIPTION
|
|
.PP
|
|
.BR io_uring_queue_exit (3)
|
|
will release all resources acquired and initialized by
|
|
.BR io_uring_queue_init (3).
|
|
It first unmaps the memory shared between the application and the kernel and then closes the io_uring file descriptor.
|
|
.SH RETURN VALUE
|
|
None
|
|
.SH SEE ALSO
|
|
.BR io_uring_setup (2),
|
|
.BR mmap (2),
|
|
.BR io_uring_queue_init (3)
|