public static int io_getevents(aio_context_t ctx, long_t min_nr, long_t nr, io_event *events, timespec *timeout) { int rv = (int)syscall(SYS_io_getevents, ctx.ring, min_nr, nr, events, timeout); return(rv); }
public static int io_submit(aio_context_t ctx, long_t nr, iocb **iocbpp) { int rv = (int)syscall(SYS_io_submit, ctx.ring, nr, iocbpp); return(rv); }