syscall.sh / sparc / ftruncate64

ftruncate64

truncate a file to a specified length

sys_ftruncate64(unsigned int fd, loff_t length)
number84 (0x54)
abi32
entry pointsys_ftruncate64
sinceLinux 5.0
man pageftruncate64(2)
sourceelixir.bootlin.com

Registers

registervalue
g184, the syscall number
o0unsigned int fd
o1loff_t length
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/ftruncate64