lio_listio(3) Library Functions Manual lio_listio(3) lio_listio - / (librt -lrt) #include int lio_listio(int n; int mode, struct aiocb *restrict const aiocb_list[restrict n], int n, struct sigevent *restrict sevp); lio_listio() / aiocb_list. mode : LIO_WAIT . sevp. LIO_NOWAIT / . / sevp sigevent(3type) . sevp NULL . aiocb_list aiocb /. . n aiocb_list. aiocb_list. aiocb_list aio_lio_opcode / : LIO_READ . aio_read(3) . LIO_WRITE . aio_write(3) . LIO_NOP . aio_read(3) aio_write(3). aio_sigevent / ( sigevent(7)). mode LIO_NOWAIT lio_listio() 0 / . -1 errno . mode LIO_WAIT lio_listio() 0 / . -1 errno . lio_listio() / . / . / aiocb_list aio_error(3). aio_return(3). / aio_read(3) aio_write(3). lio_listio() : EAGAIN . EAGAIN / n AIO_MAX. EINTR mode LIO_WAIT / signal(7). ( / .) EINVAL mode n AIO_LISTIO_MAX. EIO aiocb_list. aio_return(3). lio_listio() EAGAIN EINTR EIO aiocb_list . lio_listio() / . attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |lio_listio()| | MT-Safe | +------------+------------------------------------+--------------------+ POSIX.1-2008. glibc 2.1. POSIX.1-2001. . /. . . / aiocb . aio_cancel(3), aio_error(3), aio_fsync(3), aio_return(3), aio_suspend(3), aio_write(3), aio(7) 3 . . : . 6.18 8 2026 lio_listio(3)