»Home
»Examples
»Invocation
»Runtime Library
»Python Bindings
»Known Issues
Shellcode Compiler
A custom shellcode compiler for Binary Ninja

# gettimeofday

    int gettimeofday(struct timeval* t, struct timezone* tz);

Gets the current time and places it into the structure t. The tz parameter can be NULL. The two structures are as defined below:

    struct timeval
    {
            time_t tv_sec;
            size_t tv_usec;
    };

    struct timezone
    {
            int tz_minuteswest;
            int tz_dsttime;
    };

## See also

time