io_destroy(2) System Calls Manual io_destroy(2) io_destroy - - C (libc, -lc) #include /* aio_context_t */ #include /* SYS_* */ #include int syscall(SYS_io_destroy, aio_context_t ctx_id); Note: glibc provides no wrapper for io_destroy(), necessitating the use of syscall(2). Note: this page describes the raw Linux system call interface. The wrapper function provided by libaio uses a different type for the ctx_id argument. See VERSIONS. io_destroy() -, ctx_id, , , ctx_id. On success, io_destroy() returns 0. For the failure return, see VERSIONS. EFAULT . EINVAL AIO, ctx_id. ENOSYS io_destroy() . You probably want to use the io_destroy() wrapper function provided by libaio. , libaio (io_context_t) ctx_id. , libaio C : ( ). syscall(2), : -1 errno () . Linux. Linux 2.5. io_cancel(2), io_getevents(2), io_setup(2), io_submit(2), aio(7) () Azamat Hackimov , Dmitriy S. Seregin , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.9.1 2 2024 . io_destroy(2)