syscall.sh / x86 / 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)
number378 (0x17a)
abii386
entry pointsys_preadv2
sinceLinux 4.6
man pagepreadv2(2)
sourceelixir.bootlin.com

Registers

registervalue
eax378, the syscall number
ebxunsigned long fd
ecxconst struct iovec *vec
edxunsigned long vlen
esiunsigned long pos_l
ediunsigned long pos_h
ebprwf_t flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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