syscall.sh / riscv64 / readv

readv

read or write data into multiple buffers

sys_readv(unsigned long fd, const struct iovec *vec, unsigned long vlen)
number65 (0x41)
abicommon
entry pointsys_readv
sinceLinux 4.15
man pagereadv(2)
sourceelixir.bootlin.com

Registers

registervalue
a765, the syscall number
a0unsigned long fd
a1const struct iovec *vec
a2unsigned long vlen
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/readv