syscall.sh / x86 / _newselect
_newselect
synchronous I/O multiplexing
sys_select(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct __kernel_old_timeval *tvp)
| number | 142 (0x8e) |
|---|---|
| abi | i386 |
| entry point | sys_select |
| since | Linux 3.3 |
| man page | _newselect(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 142, the syscall number |
ebx | int n |
ecx | fd_set *inp |
edx | fd_set *outp |
esi | fd_set *exp |
edi | struct __kernel_old_timeval *tvp |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- arm 142
- ppc64 142
- ppc 142
- mips64 5022
- mipsn32 6022
- mipso32 4142
- m68k 142
- microblaze 142
- parisc 142
- sh 142
- sparc 230
- sparc64 230
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/_newselect