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

Registers

registervalue
r20348, the syscall number
r26unsigned long fd
r25const struct iovec *vec
r24unsigned long vlen
r23unsigned long pos_l
r22unsigned long pos_h
r21rwf_t flags
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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