io_getevents(2) System Calls Manual io_getevents(2) io_getevents - / (libc -lc) #include /* Definition of *io_* types */ #include /* Definition of SYS_* constants */ #include int syscall(SYS_io_getevents, aio_context_t ctx_id, long min_nr, long nr, struct io_event *events, struct timespec *timeout); : io_getevents(3) libaio . io_getevents() min_nr nr AIO ctx_id. timeout timespec(3). . timeout NULL min_nr . io_getevents() . 0 min_nr timeout. min_nr . -1 errno . EFAULT events timeout . EINTR signal(7). EINVAL ctx_id . EINVAL min_nr nr . ENOSYS io_getevents() . libaio . . . 2.5. io_cancel(2), io_destroy(2), io_setup(2), io_submit(2), io_getevents(3), timespec(3), aio(7), time(7) 3 . . : . 6.18 11 2026 io_getevents(2)