syscall.sh / mipso32 / _newselect

_newselect

synchronous I/O multiplexing

sys_select(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct __kernel_old_timeval *tvp)
number4142 (0x102e)
abio32
entry pointsys_select
sinceLinux 5.0
man page_newselect(2)
sourceelixir.bootlin.com

Registers

registervalue
v04142, the syscall number
a0int n
a1fd_set *inp
a2fd_set *outp
a3fd_set *exp
sp+16struct __kernel_old_timeval *tvp
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/_newselect