syscall.sh / mipso32 / _llseek

_llseek

reposition read/write file offset

sys_llseek(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t *result, unsigned int whence)
number4140 (0x102c)
abio32
entry pointsys_llseek
sinceLinux 5.0
man page_llseek(2)
sourceelixir.bootlin.com

Registers

registervalue
v04140, the syscall number
a0unsigned int fd
a1unsigned long offset_high
a2unsigned long offset_low
a3loff_t *result
sp+16unsigned int whence
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/_llseek