syscall.sh / parisc / truncate64

truncate64

truncate a file to a specified length

parisc_truncate64(const char *path, loff_t length)
number199 (0xc7)
abi32
entry pointparisc_truncate64
sinceLinux 5.0
man pagetruncate64(2)
sourceelixir.bootlin.com

Registers

registervalue
r20199, the syscall number
r26const char *path
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/truncate64