syscall.sh / csky / nanosleep

nanosleep

high-resolution sleep

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

Registers

registervalue
r7101, the syscall number
a0struct old_timespec32 *rqtp
a1struct 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/nanosleep