syscall.sh / hexagon / 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 |
|---|---|
r6 | 404, the syscall number |
r0 | clockid_t which_clock |
r1 | const struct __kernel_timespec *tp |
r0 | the return value |
Then run trap0(#1) to enter the kernel.
Same syscall on other architectures
- x86 404
- arm 404
- ppc 404
- mipsn32 6404
- mipso32 4404
- arc 404
- csky 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/hexagon/clock_settime64