syscall.sh / arc / nanosleep

nanosleep

high-resolution sleep

sys_nanosleep_time32(struct old_timespec32 *rqtp, struct old_timespec32 *rmtp)
number101 (0x65)
abitime32
entry pointsys_nanosleep_time32
sinceLinux 3.9
man pagenanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
r8101, the syscall number
r0struct old_timespec32 *rqtp
r1struct old_timespec32 *rmtp
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/nanosleep