syscall.sh / arm64 / clock_getres
clock_getres
clock and time functions
sys_clock_getres(clockid_t which_clock, struct __kernel_timespec *tp)
| number | 114 (0x72) |
|---|---|
| abi | 64 |
| entry point | sys_clock_getres |
| since | Linux 3.7 |
| man page | clock_getres(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
x8 | 114, the syscall number |
x0 | clockid_t which_clock |
x1 | struct __kernel_timespec *tp |
x0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 229
- x86 266
- arm 264
- riscv64 114
- x32 1073742053
- loongarch64 114
- ppc64 247
- ppc 247
- s390x 261
- mips64 5223
- mipsn32 6227
- mipso32 4264
- alpha 421
- arc 114
- csky 114
- hexagon 114
- m68k 261
- microblaze 266
- nios2 114
- openrisc 114
- parisc 257
- sh 266
- sparc 258
- sparc64 258
- xtensa 246
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/clock_getres