syscall.sh / sparc / epoll_wait
epoll_wait
wait for an I/O event on an epoll file descriptor
sys_epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout)
| number | 195 (0xc3) |
|---|---|
| abi | common |
| entry point | sys_epoll_wait |
| since | Linux 5.0 |
| man page | epoll_wait(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 195, the syscall number |
o0 | int epfd |
o1 | struct epoll_event *events |
o2 | int maxevents |
o3 | int timeout |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 232
- x86 256
- arm 252
- x32 1073742056
- ppc64 238
- ppc 238
- s390x 251
- mips64 5209
- mipsn32 6209
- mipso32 4250
- alpha 409
- m68k 251
- microblaze 256
- parisc 226
- sh 256
- sparc64 195
- xtensa 18
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/epoll_wait