syscall.sh / ppc / clock_gettime

clock_gettime

clock and time functions

sys_clock_gettime32(clockid_t which_clock, struct old_timespec32 *tp)
number246 (0xf6)
abi32
entry pointsys_clock_gettime32
sinceLinux 5.0
man pageclock_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
r0246, the syscall number
r3clockid_t which_clock
r4struct old_timespec32 *tp
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/ppc/clock_gettime