syscall.sh / xtensa / epoll_ctl

epoll_ctl

control interface for an epoll file descriptor

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

Registers

registervalue
a219, the syscall number
a6int epfd
a3int op
a4int fd
a5struct epoll_event *event
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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