syscall.sh / m68k / _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
d0142, the syscall number
d1int n
d2fd_set *inp
d3fd_set *outp
d4fd_set *exp
d5struct __kernel_old_timeval *tvp
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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