Contiki-NG
Functions
clock.c File Reference

    Clock implementation for Unix.
More...

#include "sys/clock.h"
#include <time.h>
#include <sys/time.h>

Go to the source code of this file.

Functions

clock_time_t clock_time (void)
 Get the current clock time. More...
 
unsigned long clock_seconds (void)
 Get the current value of the platform seconds. More...
 
void clock_delay (unsigned int d)
 Obsolete delay function but we implement it here since some code still uses it. More...
 
void clock_init (void)
 Initialize the clock library. More...
 

Detailed Description

    Clock implementation for Unix.
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file clock.c.