syscall.sh / mips64 / clock_getres
clock_getres
clock and time functions
sys_clock_getres(clockid_t which_clock, struct __kernel_timespec *tp)
| number | 5223 (0x1467) |
|---|---|
| abi | n64 |
| entry point | sys_clock_getres |
| since | Linux 5.0 |
| man page | clock_getres(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5223, the syscall number |
a0 | clockid_t which_clock |
a1 | struct __kernel_timespec *tp |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 229
- x86 266
- arm64 114
- arm 264
- riscv64 114
- x32 1073742053
- loongarch64 114
- ppc64 247
- ppc 247
- s390x 261
- 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/mips64/clock_getres