syscall.sh / xtensa / truncate64

truncate64

truncate a file to a specified length

sys_truncate64(const char *path, loff_t length)
number28 (0x1c)
abicommon
entry pointsys_truncate64
sinceLinux 5.0
man pagetruncate64(2)
sourceelixir.bootlin.com

Registers

registervalue
a228, the syscall number
a6const char *path
a3loff_t length
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/truncate64