epoll_wait on score
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 | 1069 (0x42d) |
|---|---|
| abi | common |
| kconfig | CONFIG_EPOLL |
| family | epoll see the whole family on score |
| entry point | sys_epoll_wait |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | epoll_wait(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1069, the syscall number |
r4 | int epfd |
r5 | struct epoll_event *events |
r6 | int maxevents |
r7 | int timeout |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 232
- x86 256
- arm 252
- ia32 256
- x32 1073742056
- ppc64 238
- ppc 238
- s390x 251
- mips64 5209
- mipsn32 6209
- mipso32 4250
- alpha 409
- blackfin 257, removed in 4.17
- cris 256, removed in 4.17
- frv 256, removed in 4.17
- ia64 1245, removed in 6.7
- m32r 256, removed in 4.17
- m68k 251
- microblaze 256
- mn10300 256, removed in 4.17
- parisc 226
- sh 256
- sparc 195
- sparc64 195
- xtensa 18
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/epoll_wait?kernel=all