syscall.sh / riscv64 / pselect6

pselect6

synchronous I/O multiplexing

sys_pselect6(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct __kernel_timespec *tsp, void *sig)
number72 (0x48)
abi64
entry pointsys_pselect6
sinceLinux 4.15
man pagepselect6(2)
sourceelixir.bootlin.com

Registers

registervalue
a772, the syscall number
a0int n
a1fd_set *inp
a2fd_set *outp
a3fd_set *exp
a4struct __kernel_timespec *tsp
a5void *sig
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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