xref: /aosp_15_r20/external/liburing/man/io_uring_queue_exit.3 (revision 25da2bea747f3a93b4c30fd9708b0618ef55a0e6)
Copyright (C) 2020 Jens Axboe <[email protected]>
Copyright (C) 2020 Red Hat, Inc.

SPDX-License-Identifier: LGPL-2.0-or-later

io_uring_queue_exit 3 "July 10, 2020" "liburing-0.7" "liburing Manual"
NAME
io_uring_queue_exit - tear down io_uring submission and completion queues
SYNOPSIS
 #include <liburing.h> 

"void io_uring_queue_exit(struct io_uring *" ring ");"

DESCRIPTION

io_uring_queue_exit (3) will release all resources acquired and initialized by 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.

RETURN VALUE
None
SEE ALSO
io_uring_setup (2), mmap (2), io_uring_queue_init (3)