syscall.sh / x32 / clock_nanosleep

clock_nanosleep

high-resolution sleep with specifiable clock

sys_clock_nanosleep(clockid_t which_clock, int flags, const struct __kernel_timespec *rqtp, struct __kernel_timespec *rmtp)
number1073742054 (0x400000e6)
abicommon
entry pointsys_clock_nanosleep
sinceLinux 3.4
man pageclock_nanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742054, the syscall number
rdiclockid_t which_clock
rsiint flags
rdxconst struct __kernel_timespec *rqtp
r10struct __kernel_timespec *rmtp
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/clock_nanosleep