syscall.sh / csky / 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 4.20
man pageepoll_ctl(2)
sourceelixir.bootlin.com

Registers

registervalue
r721, the syscall number
a0int epfd
a1int op
a2int fd
a3struct epoll_event *event
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

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