clock_nanosleep_time64 on ia32

high-resolution sleep with specifiable clock

sys_clock_nanosleep(clockid_t which_clock, int flags, const struct __kernel_timespec *rqtp, struct __kernel_timespec *rmtp)
number407 (0x197)
abii386
entry pointsys_clock_nanosleep
sinceLinux 5.1
man pageclock_nanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
eax407, the syscall number
ebxclockid_t which_clock
ecxint flags
edxconst struct __kernel_timespec *rqtp
esistruct __kernel_timespec *rmtp
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_nanosleep_time64