Skip to content

File time.c

FileList > arduino > src > posix > time.c

Go to the source code of this file.

  • #include <Arduino.h>
  • #include <errno.h>

Public Static Attributes

Type Name
uint32_t reset_epoch = = 0
uint32_t reset_millis = = 0

Public Functions

Type Name
int __wrap_gettimeofday (struct timeval * tv, void * tz)
int __wrap_settimeofday (const struct timeval * tv, const struct timezone * tz)
int _gettimeofday (struct timeval * tv, void * tz)
int _settimeofday (const struct timeval * tv, const struct timezone * tz)
int gettimeofday (struct timeval * tv, void * tz)
int settimeofday (const struct timeval * tv, const struct timezone * tz)

Public Static Attributes Documentation

variable reset_epoch

uint32_t reset_epoch;

variable reset_millis

uint32_t reset_millis;

Public Functions Documentation

function __wrap_gettimeofday

int __wrap_gettimeofday (
    struct timeval * tv,
    void * tz
) 

function __wrap_settimeofday

int __wrap_settimeofday (
    const struct timeval * tv,
    const struct timezone * tz
) 

function _gettimeofday

int _gettimeofday (
    struct timeval * tv,
    void * tz
) 

function _settimeofday

int _settimeofday (
    const struct timeval * tv,
    const struct timezone * tz
) 

function gettimeofday

int gettimeofday (
    struct timeval * tv,
    void * tz
) 

function settimeofday

int settimeofday (
    const struct timeval * tv,
    const struct timezone * tz
) 

The documentation for this class was generated from the following file cores/common/arduino/src/posix/time.c