syscall.sh / arm64 / nanosleep
nanosleep
high-resolution sleep
sys_nanosleep(struct __kernel_timespec *rqtp, struct __kernel_timespec *rmtp)
| number | 101 (0x65) |
|---|---|
| abi | 64 |
| entry point | sys_nanosleep |
| since | Linux 3.7 |
| man page | nanosleep(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
x8 | 101, the syscall number |
x0 | struct __kernel_timespec *rqtp |
x1 | struct __kernel_timespec *rmtp |
x0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 35
- x86 162
- arm 162
- riscv64 101
- x32 1073741859
- loongarch64 101
- ppc64 162
- ppc 162
- s390x 162
- mips64 5034
- mipsn32 6034
- mipso32 4166
- alpha 340
- arc 101
- csky 101
- hexagon 101
- m68k 162
- microblaze 162
- nios2 101
- openrisc 101
- parisc 162
- sh 162
- sparc 249
- sparc64 249
- xtensa 195
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/nanosleep