syscall.sh / mipso32 / truncate64

truncate64

truncate a file to a specified length

sys_truncate64(const char *path, loff_t length)
number4211 (0x1073)
abio32
entry pointsys_truncate64
sinceLinux 5.0
man pagetruncate64(2)
sourceelixir.bootlin.com

Registers

registervalue
v04211, the syscall number
a0const char *path
a1loff_t length
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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