syscall.sh / sparc / clock_getres
clock_getres
clock and time functions
sys_clock_getres_time32(clockid_t which_clock, struct old_timespec32 *tp)
| number | 258 (0x102) |
|---|---|
| abi | 32 |
| entry point | sys_clock_getres_time32 |
| since | Linux 5.0 |
| man page | clock_getres(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 258, the syscall number |
o0 | clockid_t which_clock |
o1 | struct old_timespec32 *tp |
o0 | the return value |
Then run t 0x10 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
- nios2 114
- openrisc 114
- parisc 257
- sh 266
- sparc64 258
- xtensa 246
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/clock_getres