syscall.sh / xtensa / select
select
synchronous I/O multiplexing
sys_select(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct __kernel_old_timeval *tvp)
| number | 14 (0xe) |
|---|---|
| abi | common |
| entry point | sys_select |
| since | Linux 5.0 |
| man page | select(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 14, the syscall number |
a6 | int n |
a3 | fd_set *inp |
a4 | fd_set *outp |
a5 | fd_set *exp |
a8 | struct __kernel_old_timeval *tvp |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/select