syscall.sh / sparc / _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)
number236 (0xec)
abicommon
entry pointsys_llseek
sinceLinux 5.0
man page_llseek(2)
sourceelixir.bootlin.com

Registers

registervalue
g1236, the syscall number
o0unsigned int fd
o1unsigned long offset_high
o2unsigned long offset_low
o3loff_t *result
o4unsigned int whence
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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