clock_settime64 on ia32

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.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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