syscall.sh / sh / nanosleep

nanosleep

high-resolution sleep

sys_nanosleep_time32(struct old_timespec32 *rqtp, struct old_timespec32 *rmtp)
number162 (0xa2)
abicommon
entry pointsys_nanosleep_time32
sinceLinux 5.0
man pagenanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
r3162, the syscall number
r4struct old_timespec32 *rqtp
r5struct old_timespec32 *rmtp
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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