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)
number14 (0xe)
abicommon
entry pointsys_select
sinceLinux 5.0
man pageselect(2)
sourceelixir.bootlin.com

Registers

registervalue
a214, the syscall number
a6int n
a3fd_set *inp
a4fd_set *outp
a5fd_set *exp
a8struct __kernel_old_timeval *tvp
a2the 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