syscall.sh / mipsn32 / gettimeofday

gettimeofday

get / set time

compat_sys_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
number6094 (0x17ce)
abin32
entry pointcompat_sys_gettimeofday
sinceLinux 5.0
man pagegettimeofday(2)
sourceelixir.bootlin.com

Registers

registervalue
v06094, the syscall number
a0struct __kernel_old_timeval *tv
a1struct timezone *tz
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/gettimeofday