syscall.sh / ppc64 / nanosleep

nanosleep

high-resolution sleep

sys_nanosleep(struct __kernel_timespec *rqtp, struct __kernel_timespec *rmtp)
number162 (0xa2)
abi64
entry pointsys_nanosleep
sinceLinux 5.0
man pagenanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
r0162, the syscall number
r3struct __kernel_timespec *rqtp
r4struct __kernel_timespec *rmtp
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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