syscall.sh / xtensa / preadv2

preadv2

read or write data into multiple buffers

sys_preadv2(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags)
number346 (0x15a)
abicommon
entry pointsys_preadv2
sinceLinux 5.0
man pagepreadv2(2)
sourceelixir.bootlin.com

Registers

registervalue
a2346, the syscall number
a6unsigned long fd
a3const struct iovec *vec
a4unsigned long vlen
a5unsigned long pos_l
a8unsigned long pos_h
a9rwf_t flags
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/preadv2