syscall.sh / x86 / epoll_create1
epoll_create1
open an epoll file descriptor
sys_epoll_create1(int flags)
| number | 329 (0x149) |
|---|---|
| abi | i386 |
| entry point | sys_epoll_create1 |
| since | Linux 3.3 |
| man page | epoll_create1(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 329, the syscall number |
ebx | int flags |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 291
- arm64 20
- arm 357
- riscv64 20
- x32 1073742115
- loongarch64 20
- ppc64 315
- ppc 315
- s390x 327
- mips64 5285
- mipsn32 6289
- mipso32 4326
- alpha 486
- arc 20
- csky 20
- hexagon 20
- m68k 325
- microblaze 341
- nios2 20
- openrisc 20
- parisc 311
- sh 329
- sparc 319
- sparc64 319
- xtensa 275
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/epoll_create1