syscall.sh / ppc64 / time
time
get time in seconds
sys_time(__kernel_old_time_t *tloc)
| number | 13 (0xd) |
|---|---|
| abi | 64 |
| entry point | sys_time |
| since | Linux 5.0 |
| man page | time(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 13, the syscall number |
r3 | __kernel_old_time_t *tloc |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/time