syscall.sh / m68k / clock_gettime

clock_gettime

clock and time functions

sys_clock_gettime32(clockid_t which_clock, struct old_timespec32 *tp)
number260 (0x104)
abicommon
entry pointsys_clock_gettime32
sinceLinux 5.0
man pageclock_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
d0260, the syscall number
d1clockid_t which_clock
d2struct old_timespec32 *tp
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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