syscall.sh / ppc64 / settimeofday

settimeofday

get / set time

sys_settimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
number79 (0x4f)
abicommon
entry pointsys_settimeofday
sinceLinux 5.0
man pagesettimeofday(2)
sourceelixir.bootlin.com

Registers

registervalue
r079, the syscall number
r3struct __kernel_old_timeval *tv
r4struct timezone *tz
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/settimeofday