syscall.sh / sparc / 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)
number359 (0x167)
abicommon
entry pointsys_pwritev2
sinceLinux 5.0
man pagepwritev2(2)
sourceelixir.bootlin.com

Registers

registervalue
g1359, the syscall number
o0unsigned long fd
o1const struct iovec *vec
o2unsigned long vlen
o3unsigned long pos_l
o4unsigned long pos_h
o5rwf_t flags
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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