syscall.sh / x86 / io_setup

io_setup

create an asynchronous I/O context

sys_io_setup(unsigned nr_events, aio_context_t *ctxp)
number245 (0xf5)
abii386
entry pointsys_io_setup
sinceLinux 3.3
man pageio_setup(2)
sourceelixir.bootlin.com

Registers

registervalue
eax245, the syscall number
ebxunsigned nr_events
ecxaio_context_t *ctxp
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/io_setup