syscall.sh / ppc / clock_gettime64
clock_gettime64
clock and time functions
sys_clock_gettime(clockid_t which_clock, struct __kernel_timespec *tp)
| number | 403 (0x193) |
|---|---|
| abi | 32 |
| entry point | sys_clock_gettime |
| since | Linux 5.1 |
| man page | clock_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 403, the syscall number |
r3 | clockid_t which_clock |
r4 | struct __kernel_timespec *tp |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x86 403
- arm 403
- mipsn32 6403
- mipso32 4403
- arc 403
- csky 403
- hexagon 403
- m68k 403
- microblaze 403
- nios2 403
- openrisc 403
- parisc 403
- sh 403
- sparc 403
- xtensa 403
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/clock_gettime64