syscall.sh / csky / pwritev2

pwritev2

read or write data into multiple buffers

sys_pwritev2(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags)
number287 (0x11f)
abicommon
entry pointsys_pwritev2
sinceLinux 4.20
man pagepwritev2(2)
sourceelixir.bootlin.com

Registers

registervalue
r7287, the syscall number
a0unsigned long fd
a1const struct iovec *vec
a2unsigned long vlen
a3unsigned long pos_l
r4unsigned long pos_h
r5rwf_t flags
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/pwritev2