syscall.sh / sparc / clock_settime
clock_settime
clock and time functions
sys_clock_settime32(clockid_t which_clock, struct old_timespec32 *tp)
| number | 256 (0x100) |
|---|---|
| abi | 32 |
| entry point | sys_clock_settime32 |
| since | Linux 5.0 |
| man page | clock_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 256, 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 227
- x86 264
- arm64 112
- arm 262
- riscv64 112
- x32 1073742051
- loongarch64 112
- ppc64 245
- ppc 245
- s390x 259
- mips64 5221
- mipsn32 6225
- mipso32 4262
- alpha 419
- arc 112
- csky 112
- hexagon 112
- m68k 259
- microblaze 264
- nios2 112
- openrisc 112
- parisc 255
- sh 264
- sparc64 256
- xtensa 244
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/clock_settime