syscall.sh / loongarch64 / nanosleep

nanosleep

high-resolution sleep

sys_nanosleep(struct __kernel_timespec *rqtp, struct __kernel_timespec *rmtp)
number101 (0x65)
abi64
entry pointsys_nanosleep
sinceLinux 5.19
man pagenanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
a7101, the syscall number
a0struct __kernel_timespec *rqtp
a1struct __kernel_timespec *rmtp
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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