syscall.sh / sh / _newselect

_newselect

synchronous I/O multiplexing

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

Registers

registervalue
r3142, the syscall number
r4int n
r5fd_set *inp
r6fd_set *outp
r7fd_set *exp
r0struct __kernel_old_timeval *tvp
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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