syscall.sh / s390x / 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)
number377 (0x179)
abicommon
entry pointsys_pwritev2
sinceLinux 4.16
man pagepwritev2(2)
sourceelixir.bootlin.com

Registers

registervalue
r1377, the syscall number
r2unsigned long fd
r3const struct iovec *vec
r4unsigned long vlen
r5unsigned long pos_l
r6unsigned long pos_h
r7rwf_t flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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