syscall.sh / ppc / _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 5.0 |
| man page | _newselect(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 142, the syscall number |
r3 | int n |
r4 | fd_set *inp |
r5 | fd_set *outp |
r6 | fd_set *exp |
r7 | struct __kernel_old_timeval *tvp |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x86 142
- arm 142
- ppc64 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/ppc/_newselect