syscall.sh / nios2 / clock_getres
clock_getres
clock and time functions
sys_clock_getres_time32(clockid_t which_clock, struct old_timespec32 *tp)
| number | 114 (0x72) |
|---|---|
| abi | time32 |
| entry point | sys_clock_getres_time32 |
| since | Linux 3.19 |
| man page | clock_getres(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r2 | 114, the syscall number |
r4 | clockid_t which_clock |
r5 | struct old_timespec32 *tp |
r2 | the return value |
Then run trap 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
- mips64 5223
- mipsn32 6227
- mipso32 4264
- alpha 421
- arc 114
- csky 114
- hexagon 114
- m68k 261
- microblaze 266
- openrisc 114
- parisc 257
- sh 266
- sparc 258
- sparc64 258
- xtensa 246
Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/clock_getres