syscall.sh / x86 / clock_settime64

clock_settime64

clock and time functions

sys_clock_settime(clockid_t which_clock, const struct __kernel_timespec *tp)
number404 (0x194)
abii386
entry pointsys_clock_settime
sinceLinux 5.1
man pageclock_settime(2)
sourceelixir.bootlin.com

Registers

registervalue
eax404, the syscall number
ebxclockid_t which_clock
ecxconst struct __kernel_timespec *tp
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/clock_settime64