syscall.sh / parisc / ftruncate64

ftruncate64

truncate a file to a specified length

parisc_ftruncate64(unsigned int fd, loff_t length)
number200 (0xc8)
abi32
entry pointparisc_ftruncate64
sinceLinux 5.0
man pageftruncate64(2)
sourceelixir.bootlin.com

Registers

registervalue
r20200, the syscall number
r26unsigned int fd
r25loff_t length
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/ftruncate64