syscall.sh / arm / 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)
number265 (0x109)
abicommon
entry pointsys_clock_nanosleep_time32
sinceLinux 4.10
man pageclock_nanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
r7265, the syscall number
r0clockid_t which_clock
r1int flags
r2struct old_timespec32 *rqtp
r3struct old_timespec32 *rmtp
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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