syscall.sh / s390x / select

select

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 4.16
man pageselect(2)
sourceelixir.bootlin.com

Registers

registervalue
r1142, the syscall number
r2int n
r3fd_set *inp
r4fd_set *outp
r5fd_set *exp
r6struct __kernel_old_timeval *tvp
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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