pwritev2 on score

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.6
man pagepwritev2(2)
sourceelixir.bootlin.com

Registers

registervalue
r27287, the syscall number
r4unsigned long fd
r5const struct iovec *vec
r6unsigned long vlen
r7unsigned long pos_l
r8unsigned long pos_h
r9rwf_t flags
r4the return value

Then run syscall to enter the kernel.

r7 is the error flag and r4 then holds the positive error number.

This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/score/pwritev2?kernel=all