syscall.sh / arc / clock_getres_time64
clock_getres_time64
clock and time functions
sys_clock_getres(clockid_t which_clock, struct __kernel_timespec *tp)
| number | 406 (0x196) |
|---|---|
| abi | 32 |
| entry point | sys_clock_getres |
| since | Linux 5.1 |
| man page | clock_getres(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r8 | 406, the syscall number |
r0 | clockid_t which_clock |
r1 | struct __kernel_timespec *tp |
r0 | the return value |
Then run trap0 to enter the kernel.
Same syscall on other architectures
- x86 406
- arm 406
- ppc 406
- mipsn32 6406
- mipso32 4406
- csky 406
- hexagon 406
- m68k 406
- microblaze 406
- nios2 406
- openrisc 406
- parisc 406
- sh 406
- sparc 406
- xtensa 406
Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/clock_getres_time64