syscall.sh / riscv64 / utimensat

utimensat

change file timestamps with nanosecond precision

sys_utimensat(int dfd, const char *filename, struct __kernel_timespec *utimes, int flags)
number88 (0x58)
abi64
entry pointsys_utimensat
sinceLinux 4.15
man pageutimensat(2)
sourceelixir.bootlin.com

Registers

registervalue
a788, the syscall number
a0int dfd
a1const char *filename
a2struct __kernel_timespec *utimes
a3int flags
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/utimensat