![]() |
Contiki-NG
|
Clock implementation for Unix. More...
#include "sys/clock.h"#include <time.h>#include <sys/time.h>#include <stdlib.h>#include <err.h>Go to the source code of this file.
Functions | |
| clock_time_t | clock_time (void) |
| Get the current clock time. | |
| unsigned long | clock_seconds (void) |
| Get the current value of the platform seconds. | |
| void | clock_delay (unsigned int d) |
| Obsolete delay function but we implement it here since some code still uses it. | |
| void | clock_init (void) |
| Initialize the clock library. | |
Clock implementation for Unix.
Definition in file clock.c.