syscall.sh / sparc / clock_gettime

clock_gettime

clock and time functions

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

Registers

registervalue
g1257, the syscall number
o0clockid_t which_clock
o1struct old_timespec32 *tp
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/clock_gettime