P_ltime 3porty 2011-04-11 libporty manual

NAME

P_ltime

SYNPOSIS

#include <libporty/host/time.h>

typedef unsigned long int P_time_t;
void P_ltime (P_time_t *secs , P_time_t *usecs );

Link with -lporty_host

DESCRIPTION

Query the current time in Epoch, with subseconds of about microsecond precision as a pair of integers: *secs holds seconds, *usecs holds microseconds. *usecs may be NULL, in which case only *secs is filled in.

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

SEE ALSO

P_ltime 3porty 2011-04-11 libporty manual