syscall.sh / sparc / 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)
number358 (0x166)
abicommon
entry pointsys_preadv2
sinceLinux 5.0
man pagepreadv2(2)
sourceelixir.bootlin.com

Registers

registervalue
g1358, 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/preadv2