syscall.sh / s390x / nanosleep

nanosleep

high-resolution sleep

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

Registers

registervalue
r1162, the syscall number
r2struct __kernel_timespec *rqtp
r3struct __kernel_timespec *rmtp
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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