syscall.sh / x64 / 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)
number327 (0x147)
abi64
entry pointsys_preadv2
sinceLinux 4.6
man pagepreadv2(2)
sourceelixir.bootlin.com

Registers

registervalue
rax327, the syscall number
rdiunsigned long fd
rsiconst struct iovec *vec
rdxunsigned long vlen
r10unsigned long pos_l
r8unsigned long pos_h
r9rwf_t flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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