_llseek on ia32

reposition read/write file offset

sys_llseek(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t *result, unsigned int whence)
number140 (0x8c)
abii386
entry pointsys_llseek
sinceLinux 3.3 or earlier (3.3 is the first release scanned for ia32)
man page_llseek(2)
sourceelixir.bootlin.com

Registers

registervalue
eax140, the syscall number
ebxunsigned int fd
ecxunsigned long offset_high
edxunsigned long offset_low
esiloff_t *result
ediunsigned int whence
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/_llseek