syscall.sh / nios2 / epoll_ctl

epoll_ctl

control interface for an epoll file descriptor

sys_epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
number21 (0x15)
abicommon
entry pointsys_epoll_ctl
sinceLinux 3.19
man pageepoll_ctl(2)
sourceelixir.bootlin.com

Registers

registervalue
r221, the syscall number
r4int epfd
r5int op
r6int fd
r7struct epoll_event *event
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/epoll_ctl