syscall.sh / loongarch64 / 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 5.19 |
| man page | clock_getres(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 114, the syscall number |
a0 | clockid_t which_clock |
a1 | struct __kernel_timespec *tp |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 229
- x86 266
- arm64 114
- arm 264
- riscv64 114
- x32 1073742053
- 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/loongarch64/clock_getres