syscall.sh / parisc / lseek

lseek

reposition read/write file offset

sys_lseek(unsigned int fd, off_t offset, unsigned int whence)
number19 (0x13)
abicommon
entry pointsys_lseek
sinceLinux 5.0
man pagelseek(2)
sourceelixir.bootlin.com

Registers

registervalue
r2019, the syscall number
r26unsigned int fd
r25off_t offset
r24unsigned int whence
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/lseek