syscall.sh / nios2 / 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.19
man pagenanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
r2101, the syscall number
r4struct old_timespec32 *rqtp
r5struct old_timespec32 *rmtp
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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