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)
| number | 19 (0x13) |
|---|---|
| abi | common |
| entry point | sys_epoll_ctl |
| since | Linux 5.0 |
| man page | epoll_ctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 19, the syscall number |
a6 | int epfd |
a3 | int op |
a4 | int fd |
a5 | struct epoll_event *event |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 233
- x86 255
- arm64 21
- arm 251
- riscv64 21
- x32 1073742057
- loongarch64 21
- ppc64 237
- ppc 237
- s390x 250
- mips64 5208
- mipsn32 6208
- mipso32 4249
- alpha 408
- arc 21
- csky 21
- hexagon 21
- m68k 250
- microblaze 255
- nios2 21
- openrisc 21
- parisc 225
- sh 255
- sparc 194
- sparc64 194
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/epoll_ctl