syscall.sh / alpha / nanosleep

nanosleep

high-resolution sleep

sys_nanosleep(struct __kernel_timespec *rqtp, struct __kernel_timespec *rmtp)
number340 (0x154)
abicommon
entry pointsys_nanosleep
sinceLinux 5.0
man pagenanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
v0340, the syscall number
a0struct __kernel_timespec *rqtp
a1struct __kernel_timespec *rmtp
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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