syscall.sh / ppc64 / _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
r0142, the syscall number
r3int n
r4fd_set *inp
r5fd_set *outp
r6fd_set *exp
r7struct __kernel_old_timeval *tvp
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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