syscall.sh / csky / clock_nanosleep

clock_nanosleep

high-resolution sleep with specifiable clock

sys_clock_nanosleep_time32(clockid_t which_clock, int flags, struct old_timespec32 *rqtp, struct old_timespec32 *rmtp)
number115 (0x73)
abitime32
entry pointsys_clock_nanosleep_time32
sinceLinux 4.20
man pageclock_nanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
r7115, the syscall number
a0clockid_t which_clock
a1int flags
a2struct old_timespec32 *rqtp
a3struct old_timespec32 *rmtp
a0the 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/csky/clock_nanosleep