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