syscall.sh / alpha / 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 | 358 (0x166) |
|---|---|
| abi | common |
| entry point | sys_select |
| since | Linux 5.0 |
| man page | select(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 358, the syscall number |
a0 | int n |
a1 | fd_set *inp |
a2 | fd_set *outp |
a3 | fd_set *exp |
a4 | struct __kernel_old_timeval *tvp |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/select