syscall.sh / x86 / time
time
get time in seconds
sys_time32(old_time32_t *tloc)
| number | 13 (0xd) |
|---|---|
| abi | i386 |
| entry point | sys_time32 |
| since | Linux 3.3 |
| man page | time(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 13, the syscall number |
ebx | old_time32_t *tloc |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/time