syscall.sh / arm / _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 | common |
| entry point | sys_select |
| since | Linux 4.10 |
| man page | _newselect(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 142, the syscall number |
r0 | int n |
r1 | fd_set *inp |
r2 | fd_set *outp |
r3 | fd_set *exp |
r4 | struct __kernel_old_timeval *tvp |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x86 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/arm/_newselect