P_dtime 3porty 2011-04-11 libporty manual

NAME

P_dtime

SYNPOSIS

#include <libporty/host/time.h>

int P_dtime (void);

Link with -lporty_host

DESCRIPTION

Query the current time in Epoch, with subseconds of about microsecond precision as a double for the local time zone.

WARNING: granularity depends on system; it is wise not to expect anything better than milisecond resolution.

RETURN VALUE

Returns seconds elapsed since 1 January 1970.

SEE ALSO

P_dtime 3porty 2011-04-11 libporty manual