aio_cancel(3) Library Functions Manual aio_cancel(3) aio_cancel - / (librt -lrt) #include int aio_cancel(int fd, struct aiocb *aiocbp); aio_cancel() / fd. aiocbp (NULL) . aiocbp. ( aio(7) aiocb.) ( aio(7) sigevent(3type)). (aio_return(3)) -1 (aio_error(3)) ECANCELED. . /. ( aio_error(3) EINPROGRESSS.) aiocbp fd . . aio_cancel() : AIO_CANCELED . AIO_NOTCANCELED . aio_error(3). AIO_ALLDONE . -1 . errno. EBADF fd . ENOSYS aio_cancel() . attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |aio_cancel()| | MT-Safe | +------------+------------------------------------+--------------------+ POSIX.1-2008. glibc 2.1. POSIX.1-2001. aio(7). aio_error(3), aio_fsync(3), aio_read(3), aio_return(3), aio_suspend(3), aio_write(3), lio_listio(3), aio(7) 3 . . : . 6.18 8 2026 aio_cancel(3)