pwritev2 on ia32

read or write data into multiple buffers

compat_sys_pwritev2(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags)
number379 (0x17b)
abii386
entry pointcompat_sys_pwritev2
sinceLinux 4.6
man pagepwritev2(2)
sourceelixir.bootlin.com

Registers

registervalue
eax379, 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.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/pwritev2