syscall.sh / loongarch64 / pwritev

pwritev

read or write data into multiple buffers

sys_pwritev(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h)
number70 (0x46)
abicommon
entry pointsys_pwritev
sinceLinux 5.19
man pagepwritev(2)
sourceelixir.bootlin.com

Registers

registervalue
a770, the syscall number
a0unsigned long fd
a1const struct iovec *vec
a2unsigned long vlen
a3unsigned long pos_l
a4unsigned long pos_h
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/pwritev