Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Set Clock timestamp.

Files

clk.h/clk.c

Prototype

Arguments

ts_sec

Current timestamp to set (in seconds, UTC+00).

Returned Values

DEF_OK, if timestamp is successfully set.

DEF_FAIL, otherwise.

Required Configuration

None

Notes / Warnings

Clock timestamp should be set for UTC+00 (i.e., no local time zone offset included).

Example Usage