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

Registers

registervalue
d0377, the syscall number
d1unsigned long fd
d2const struct iovec *vec
d3unsigned long vlen
d4unsigned long pos_l
d5unsigned long pos_h
a0rwf_t flags
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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